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

Zoltan Haindrich commented on HIVE-13556:
-----------------------------------------

Sorry for the broken link - i think I've also noticed it; but I might have 
failed to save my changes...

I think PRECISION in its current form, is a fully reserved keyword - and 
FOREIGN and its friends too
The fully reserved keywords are those which are in 
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g
if there are just a few which are missing I think we should regenerate the 
whole list with something like:
{code}
grep '^KW' ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g |cut -d "'" 
-f2|sort|tr '\n' ','
{code}

AFAIK the non-reserved keywords are those which are implemented as UDFs.

but in this topic I think [~pxiong] is a more reliable source than me...

> Support for double precision data type
> --------------------------------------
>
>                 Key: HIVE-13556
>                 URL: https://issues.apache.org/jira/browse/HIVE-13556
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Types
>            Reporter: Ashutosh Chauhan
>            Assignee: Zoltan Haindrich
>              Labels: TODOC2.2
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13554.1.patch, HIVE-13556.2.patch
>
>
> Add support for {{DOUBLE PRECISION}} data type as an alias for {{DOUBLE}} 
> datatype



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to