hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (HIVE-872) Allow BIGINT constants
Date Mon, 13 Jun 2011 22:41:48 GMT

] commented on HIVE-872:

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-06-13 22:41:25.002039)

Review request for hive and John Sichi.


Added a testcase to cover using bigint constants in a couple of scenarios.


Added a rule to the lexical grammar to allow BIGINT constants ending with 'L', and a clause
to the TypeCheckProcFactory to ensure it gets interpreted properly.

This addresses bug HIVE-872.

Diffs (updated)

  ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g 9161319 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ dfadb9f 
  ql/src/test/queries/clientpositive/bigint_const.q PRE-CREATION 
  ql/src/test/results/clientpositive/bigint_const.q.out PRE-CREATION 



TestCliDriver passes, previous behaviour was to accept bigint constants specified without
'L', which is also preserved, so adding additional tests for this case seems unnecessary.



> Allow BIGINT constants
> ----------------------
>                 Key: HIVE-872
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>            Assignee: Syed S. Albiz
>         Attachments: HIVE-872.1.patch
> We should allow "0L" to be interpreted as a bigint constant.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message