Closed qinxingnet closed 5 months ago
How can I reproduce it? What would be the minimal script in java for that?
Most likely caused by https://github.com/manticoresoftware/manticoresearch/issues/1385 . Let's wait until that it is fixed.
Using Java Mysql Connector, we had no issues while using Manticore 5.0.X.
But when we tried to switch to Manticore 6.X, we encountered those java.lang.NumberFormatException: For input string: "<empty>"
too.
When we looked at https://github.com/mysql/mysql-connector-j/blob/release/8.x/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java#L1353, we saw those versionMeetsMinimum
that kinda explained why we started getting into those code branches.
And just like it is said at https://manual.manticoresearch.com/dev/Connecting_to_the_server/MySQL_protocol#Notes-on-MySQL-connectors - we played with mysql_version_string
in searchd config and with mysql_version_string = 5.0.0
things kinda turned back to normal... Still testing though.
Most likely caused by https://github.com/manticoresoftware/manticoresearch/issues/1385 . Let's wait until that it is fixed.
Fixed. We can continue with this one.
It should work fine now with the latest dev version of Manticore. ( The issue that caused the error was fixed in https://github.com/manticoresoftware/manticoresearch/commit/1dfe68cd3c6fb8d2d21cbe690b5790b25d37d2dc )
Hi, according to the introduction on the official website, I would like to use ms instead of ES. https://manual.manticoresearch.com/Quick_start_guide
using self mysqlClient: create table products(title text, price float) morphology='stem_en'; insert into products(title,price) values ('Crossbody Bag with Tassel', 19.85), ('microfiber sheet set', 19.99), ('Pet Hair Remover Glove', 7.99);
But when using Java SQL in Java programs, there is an error: internal error in the jdbc driver update products set price=18.5 where id = 1513686608316989452;
The same error occurred while using native Java for jdbc. I guess some driving parameters were not taken into account. Our group discussion is unlikely to use MS instead of ES, and even other members support the use of crateDb. This is very frustrating.