You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2012/06/24 17:26:42 UTC

[jira] [Created] (HIVE-3190) allow INTEGER as a type name in a column/cast expression (per ISO-SQL 2012)

N Campbell created HIVE-3190:
--------------------------------

             Summary: allow INTEGER as a type name in a column/cast expression (per ISO-SQL 2012)
                 Key: HIVE-3190
                 URL: https://issues.apache.org/jira/browse/HIVE-3190
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 0.8.0
            Reporter: N Campbell


Just extend the parser to allow INTEGER instead of making folks use INT


select cast('10' as integer) from cert.tversion tversion

FAILED: Parse Error: line 1:20 cannot recognize input near 'integer' ')' 'from' in primitive type specification


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3190) allow INTEGER as a type name in a column/cast expression (per ISO-SQL 2012)

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-3190:
---------------------------------

    Component/s: SQL
    
> allow INTEGER as a type name in a column/cast expression (per ISO-SQL 2012)
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3190
>                 URL: https://issues.apache.org/jira/browse/HIVE-3190
>             Project: Hive
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 0.8.0
>            Reporter: N Campbell
>
> Just extend the parser to allow INTEGER instead of making folks use INT
> select cast('10' as integer) from cert.tversion tversion
> FAILED: Parse Error: line 1:20 cannot recognize input near 'integer' ')' 'from' in primitive type specification

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira