Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0
-
None
Description
I got the following NPE trying to use Drill with JDBC:
java.lang.NullPointerException
at org.apache.drill.exec.vector.accessor.AbstractSqlAccessor.getString(AbstractSqlAccessor.java:102)
at org.apache.drill.exec.vector.accessor.NullableFloat8Accessor.getString(NullableFloat8Accessor.java:87)
at org.apache.drill.jdbc.AvaticaDrillSqlAccessor.getString(AvaticaDrillSqlAccessor.java:66)
at net.hydromatic.avatica.AvaticaResultSet.getString(AvaticaResultSet.java:205)
It was caused by NULL value stored as DOUBLE.
Attachments
Attachments
Issue Links
- is related to
-
DRILL-2463 Implement JDBC mapping of SQL NULL for ResultSet.getXxx() methods
- Closed