drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2230) Use SQLDataException to report applicable conditions
Date Mon, 23 Feb 2015 06:54:11 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333053#comment-14333053

Daniel Barclay (Drill) commented on DRILL-2230:

Note that the relevant part of Drill is not the JDBC interface.  It is most of the rest of
Drill (which needs to report errors in a way that supports the JDBC interface.)

> Use SQLDataException to report applicable conditions
> ----------------------------------------------------
>                 Key: DRILL-2230
>                 URL: https://issues.apache.org/jira/browse/DRILL-2230
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Daniel Barclay (Drill)
> 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

This message was sent by Atlassian JIRA

View raw message