[ 
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: defa...@t1
    [junit] ---
    [junit] > POSTHOOK: Output: defa...@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.

Reply via email to