Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
AccessorImpl relies on cannotConvert(String) method to throw a exception when conversion is not possible between the accessor data type, and what the user requested.
The exact class type of the exception is RuntimeException which is very generic, and not easy for the user to catch, unlike more specific types. Moreover JDBC drivers usually throws a SQLException instances for these kind of exceptions, which is likely what users are expecting.
Attachments
Issue Links
- is related to
-
DRILL-4730 Update JDBC DatabaseMetaData implementation to use new Metadata APIs
- Closed
-
DRILL-6751 Upgrade Apache parent POM to version 21
- Resolved