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

[jira] [Closed] (DRILL-2128) DatabaseMetaData.getColumns()'s DATA_TYPE has wrong type

     [ https://issues.apache.org/jira/browse/DRILL-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krystal closed DRILL-2128.
--------------------------

Verified that fixed is in master.  Test for fix is in developer's unit test.

> DatabaseMetaData.getColumns()'s DATA_TYPE has wrong type
> --------------------------------------------------------
>
>                 Key: DRILL-2128
>                 URL: https://issues.apache.org/jira/browse/DRILL-2128
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>            Priority: Blocker
>             Fix For: 0.8.0
>
>         Attachments: DRILL-2128-1Prep.1.patch.txt, DRILL-2128-2Core.1.patch.txt
>
>
> The {{DATA_TYPE}} column in the result set returned by {{DatabaseMetaData.getColumns(...)}} contains type names instead of integer type codes from {{java.sql.Types}}.
> Additionally, column {{TYPE_NAME}} is missing.
> (See the result set table description in [http://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getColumns-java.lang.String-java.lang.String-java.lang.String-java.lang.String-].)



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