Daniel Barclay (Drill/MapR) created DRILL-2230:
--------------------------------------------------
Summary: Use SQLDataException to report applicable conditions
Key: DRILL-2230
URL: https://issues.apache.org/jira/browse/DRILL-2230
Project: Apache Drill
Issue Type: Bug
Reporter: Daniel Barclay (Drill/MapR)
The execution code should probably use SQLDataException to report applicable
conditions, which as " data errors, including but not limited to data
conversion errors, division by 0, and invalid arguments to functions."
(Of course, the internal code could use some other exception class or data to
different cases, as long as those cases can be recognized and mapped to
SQLDataException in the JDBC interface.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)