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

Zhenxiao Luo commented on HIVE-1977:
------------------------------------

@Namit: Thanks for your comments. I updated the patch, did the following:

1. Instead of adding a new conf, try database.table first, if not valid(via 
tableValidCheck and databaseValidCheck), try table.column.
2. get rid of isStandardSyntax, re-work the code

Review request submitted at:
https://reviews.facebook.net/D5763
                
> DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
> name
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1977
>                 URL: https://issues.apache.org/jira/browse/HIVE-1977
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema, Query Processor, SQL
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt
>
>
> The syntax for DESCRIBE is broken. It should be:
> {code}
> DESCRIBE [EXTENDED] [database DOT]table [column]
> {code}
> but is actually
> {code}
> DESCRIBE [EXTENDED] table[DOT col_name]
> {code}
> Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to