[
https://issues.apache.org/jira/browse/DRILL-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360044#comment-14360044
]
Daniel Barclay (Drill) commented on DRILL-2449:
-----------------------------------------------
> Since drill does not support Procedures, we should throw a SQLException.
Not quite. We should return a valid representation of a result set (a non-null
ResultSet pointer)--that it what tools handle.
Since/if Drill does not support procedures, there are no procedures, so we
should return the normal representation of a set of zero things--a
representation of an empty result (a result table with no rows).
(Note that the JDBC API spec. (Javadoc) for getProcedures(...) says: "Throws
... SQLException ... if a database access error occurs." Receiving a call to
getProcedures(...) isn't really a database (Drill) error.)
> JDBC : DatabaseMetaData.getProcedures should throw a SQLException
> -----------------------------------------------------------------
>
> Key: DRILL-2449
> URL: https://issues.apache.org/jira/browse/DRILL-2449
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - JDBC
> Reporter: Rahul Challapalli
> Assignee: Daniel Barclay (Drill)
>
> git.commit.id.abbrev=e92db23
> Since drill does not support Procedures, we should throw a SQLException.
> Drill currently returns 'null'. This could be a cause of concern because some
> analytic tools might be making calls to this method and any subsequent
> operations would return an NPE
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)