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

Carl Steinbach commented on HIVE-1517:
--------------------------------------

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

One solution (which I'm not eager to see us take) is to extend Hive's 
non-standard as follows:

{code}
DESCRIBE [EXTENDED] [database] table[DOT col_name]
{code}

Anyway, I think it's OK to fix this as a followup.


> ability to select across a database
> -----------------------------------
>
>                 Key: HIVE-1517
>                 URL: https://issues.apache.org/jira/browse/HIVE-1517
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Siying Dong
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt
>
>
> After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
> able to select across a database for this feature to be useful.
> For eg:
> use db1
> create table foo(....);
> use db2
> select .. from db1.foo.....

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to