You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the lake warehouse query scenario, StarRocks is used to read data in hive/iceberg/.... When the double type of the external table stores nan or infinity (note that it is not NaN and Infinity), when querying the results through JDBC connection, the final result is parsed through the getDouble method of ResultSet. However, getDouble throws an exception when encountering lowercase nan or infinity, causing the query to fail.
Steps to reproduce the behavior (Required)
In the lake warehouse query scenario, StarRocks is used to read data in hive/iceberg/.... When the double type of the external table stores
nan
orinfinity
(note that it is notNaN
andInfinity
), when querying the results through JDBC connection, the final result is parsed through thegetDouble
method ofResultSet
. However,getDouble
throws an exception when encountering lowercasenan
orinfinity
, causing the query to fail.JDBC getDouble call path:
ResultSet#getDouble -> ResultSetImpl#getDouble -> getDoubleInternal -> Double.parseDouble -> readJavaFormatString
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
The text was updated successfully, but these errors were encountered: