Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In the JDBC driver, a number of methods throw java.lang.UnsupportedOperationException, a run-time exception.
They should throw some SQLException, since that's the JDBC pattern and what JDBC clients will be expecting (i.e., coded to handle).
They should probably use SQLFeatureNotSupportedException (at least for the case of an unsupported "optional JDBC feature" ) or SQLNonTransientException (or subclasses thereof).
Attachments
Issue Links
- is superceded by
-
DRILL-2769 many(?) JDBC methods throw non-SQLException exceptions (e.g., UnsupportedOperationException, RuntimeException)
-
- Resolved
-