hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasad Chakka <pcha...@facebook.com>
Subject Re: [jira] Commented: (HIVE-912) table name in DDL should be case-insensitive
Date Wed, 04 Nov 2009 18:36:33 GMT
One reason why it was not done this was to report user errors in the case that user typed in.
I suppose it is not that much of reason 
Prasad from bberry

----- Original Message -----
From: Ning Zhang (JIRA) <jira@apache.org>
To: hive-dev@hadoop.apache.org <hive-dev@hadoop.apache.org>
Sent: Wed Nov 04 10:27:32 2009
Subject: [jira] Commented: (HIVE-912) table name in DDL should be case-insensitive


    [ https://issues.apache.org/jira/browse/HIVE-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773592#action_12773592
] 

Ning Zhang commented on HIVE-912:
---------------------------------

I think most DDL cases works fine (case insensitive). I have manually tested some and all
works.  But I've seen diffs in the POSTHOOK when running unittests. Some examples are uniquejoin.q.out
    [junit] < POSTHOOK: Output: default@t1
    [junit] ---
    [junit] > POSTHOOK: Output: default@T1

My change will be to convert table names to lower case in the createTableDesc at the very
beginning of analyzing DDL statement. This will guarantee all code paths using the createTableDesc
will see lower cased table names. 

> table name in DDL should be case-insensitive
> --------------------------------------------
>
>                 Key: HIVE-912
>                 URL: https://issues.apache.org/jira/browse/HIVE-912
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: Hive-912.patch
>
>
> Found the issue is not only limited to CTAS, it is true for all create-table statement.
Modify the title and will upload a new patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message