You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/06/08 20:19:01 UTC

[jira] [Comment Edited] (DRILL-3198) JDBC driver returns null DatabaseMetaData#getTypeInfo()

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

Daniel Barclay (Drill) edited comment on DRILL-3198 at 6/8/15 6:18 PM:
-----------------------------------------------------------------------

For reference, the following methods currently return null rather than a ResultSet representing a zero-row result set:
- getAttributes
- getBestRowIdentifier
- getClientInfoProperties
- getColumnPrivileges
- getCrossReference
- getExportedKeys
- getFunctionColumns
- getFunctions
- getImportedKeys
- getIndexInfo
- getPrimaryKeys
- getProcedureColumns
- getProcedures
- getPseudoColumns
- getSuperTables
- getSuperTypes
- getTablePrivileges
- getTableTypes
- getTypeInfo
- getUDTs
- getVersionColumns



was (Author: dsbos):
For references, the following methods currently return null rather than a ResultSet representing a zero-row result set:
- getAttributes
- getBestRowIdentifier
- getClientInfoProperties
- getColumnPrivileges
- getCrossReference
- getExportedKeys
- getFunctionColumns
- getFunctions
- getImportedKeys
- getIndexInfo
- getPrimaryKeys
- getProcedureColumns
- getProcedures
- getPseudoColumns
- getSuperTables
- getSuperTypes
- getTablePrivileges
- getTableTypes
- getTypeInfo
- getUDTs
- getVersionColumns


> JDBC driver returns null DatabaseMetaData#getTypeInfo()
> -------------------------------------------------------
>
>                 Key: DRILL-3198
>                 URL: https://issues.apache.org/jira/browse/DRILL-3198
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>    Affects Versions: 1.0.0
>            Reporter: Matt Keranen
>            Assignee: Daniel Barclay (Drill)
>            Priority: Minor
>
> JDBC driver returns null from DatabaseMetaData#getTypeInfo() instead of a ResultSet, causing some client tools to throw NPEs.
> Driver works with SquirrelSQL (http://drill.apache.org/docs/using-jdbc/), but fails with others (DbVisualizer for example).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)