You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2012/05/24 03:59:40 UTC

[jira] [Created] (HIVE-3051) JDBC cannot find metadata for tables/columns containing uppercase character

Navis created HIVE-3051:
---------------------------

             Summary: JDBC cannot find metadata for tables/columns containing uppercase character
                 Key: HIVE-3051
                 URL: https://issues.apache.org/jira/browse/HIVE-3051
             Project: Hive
          Issue Type: Improvement
          Components: JDBC
    Affects Versions: 0.10.0
            Reporter: Navis
            Assignee: Navis
            Priority: Trivial


{code}
create table TEST_TABLE ( ... );

...
ResultSet rs = databaseMetaData.getColumns(null, null, "TEST_TABLE", null); // empty
{code}
Trivial, but hive shell or thrift client accepts above use-case by converting strings to lower case. This should be consistent with JDBC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3051) JDBC cannot find metadata for tables/columns containing uppercase character

Posted by "Navis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navis updated HIVE-3051:
------------------------

    Status: Patch Available  (was: Open)

https://reviews.facebook.net/D3375
                
> JDBC cannot find metadata for tables/columns containing uppercase character
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3051
>                 URL: https://issues.apache.org/jira/browse/HIVE-3051
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>
> {code}
> create table TEST_TABLE ( ... );
> ...
> ResultSet rs = databaseMetaData.getColumns(null, null, "TEST_TABLE", null); // empty
> {code}
> Trivial, but hive shell or thrift client accepts above use-case by converting strings to lower case. This should be consistent with JDBC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3051) JDBC cannot find metadata for tables/columns containing uppercase character

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282688#comment-13282688 ] 

Namit Jain commented on HIVE-3051:
----------------------------------

+1
                
> JDBC cannot find metadata for tables/columns containing uppercase character
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3051
>                 URL: https://issues.apache.org/jira/browse/HIVE-3051
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>
> {code}
> create table TEST_TABLE ( ... );
> ...
> ResultSet rs = databaseMetaData.getColumns(null, null, "TEST_TABLE", null); // empty
> {code}
> Trivial, but hive shell or thrift client accepts above use-case by converting strings to lower case. This should be consistent with JDBC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3051) JDBC cannot find metadata for tables/columns containing uppercase character

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-3051:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Committed. Thanks Navis
                
> JDBC cannot find metadata for tables/columns containing uppercase character
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3051
>                 URL: https://issues.apache.org/jira/browse/HIVE-3051
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>
> {code}
> create table TEST_TABLE ( ... );
> ...
> ResultSet rs = databaseMetaData.getColumns(null, null, "TEST_TABLE", null); // empty
> {code}
> Trivial, but hive shell or thrift client accepts above use-case by converting strings to lower case. This should be consistent with JDBC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3051) JDBC cannot find metadata for tables/columns containing uppercase character

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283722#comment-13283722 ] 

Hudson commented on HIVE-3051:
------------------------------

Integrated in Hive-trunk-h0.21 #1448 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1448/])
    HIVE-3051 JDBC cannot find metadata for tables/columns containing uppercase
character (Navis via namit) (Revision 1342428)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1342428
Files : 
* /hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java
* /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java

                
> JDBC cannot find metadata for tables/columns containing uppercase character
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3051
>                 URL: https://issues.apache.org/jira/browse/HIVE-3051
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>
> {code}
> create table TEST_TABLE ( ... );
> ...
> ResultSet rs = databaseMetaData.getColumns(null, null, "TEST_TABLE", null); // empty
> {code}
> Trivial, but hive shell or thrift client accepts above use-case by converting strings to lower case. This should be consistent with JDBC.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira