hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thejas Nair <>
Subject Re: Dot syntax for DESCRIBE in wiki
Date Wed, 12 Mar 2014 09:44:19 GMT
On Wed, Mar 12, 2014 at 2:16 AM, Lefty Leverenz <>wrote:

> The wiki gives this syntax for
> >
>  table/view/column:
> DESCRIBE [EXTENDED|FORMATTED] [db_name.]table_name[DOT col_name
> ( [DOT field_name] | [DOT '$elem$'] | [DOT '$key$'] | [DOT '$value$'] )* ]
> This is the only syntax with DOT, but apparently DOT just means "." or
> perhaps it's a valid alternative to an actual dot.  What's the story here?
>  Is this something everybody knows except me?

DOT is just "." .  We should certainly make it consistent to avoid

Yes, DOT is also optional now, but I am not a fan of that syntax. It has
made it almost impossible
to extend describe statements to other commands, as you can see from
Lets just document the syntax with DOT for now. That way it be easier to
fix the syntax later if we choose to.

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message