Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
git.commit.id.abbrev=7b4c887
Drill currently throws the below error when we call wasNull before calling getXXX method
Exception in thread "main" 17:15:07.935 [Client-1] DEBUG o.a.drill.exec.rpc.user.UserClient - Sending response with Sender 557575560
java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.drill.jdbc.DrillAccessorList.wasNull(DrillAccessorList.java:53)
at org.apache.drill.jdbc.DrillCursor.wasNull(DrillCursor.java:138)
at net.hydromatic.avatica.AvaticaResultSet.wasNull(AvaticaResultSet.java:201)
Drill should instead give the appropriate error message
Attachments
Issue Links
- Is contained by
-
DRILL-1735 JDBC driver's close() leaks resources in local mode
- Closed
- relates to
-
DRILL-2463 Implement JDBC mapping of SQL NULL for ResultSet.getXxx() methods
- Closed
-
DRILL-2489 Accessing Connection, Statement, PreparedStatement after they are closed should throw a SQLException
- Reviewable
- requires
-
DRILL-2769 many(?) JDBC methods throw non-SQLException exceptions (e.g., UnsupportedOperationException, RuntimeException)
- Resolved