Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-2769: Fix most non-SQLException not-supported-yet exceptions.
Core: Added (auto-scanning) unit test. [Drill2769UnsupportedReportsUseSqlExceptionTest] Added translation of lots of UnsupportedOperationExceptions (and some RuntimeExceptions) from Avatica code to SQLFeatureNotSupportedExceptions (tons of method overrides). Also: Added explicit bounds checks in ResultSetMetaData methods and checking of last-accessed column in DrillAccessorList.wasNull() (to fix other RuntimeExceptions to SQLExceptions). Added resetting of last-accessed column to fix latent bug in DrillAccessorList. Hygiene: - Renamed some zero-based index/ordinal-position parameters to "...Offset". - Renamed some one-based index/ordinal-position parameters to "...Number". - Renamed DrillAccessorList lastColumn to rowLastColumnOffset; declared explicit logical null value for rowLastColumnOffset.
- Loading branch information
Showing
9 changed files
with
1,712 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.