You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (Updated) (JIRA)" <ji...@apache.org> on 2012/01/19 10:13:41 UTC

[jira] [Updated] (HIVE-2477) Use name of original expression for name of CAST output

     [ https://issues.apache.org/jira/browse/HIVE-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navis updated HIVE-2477:
------------------------

    Attachment: HIVE-2477.1.patch.txt

Simple patch. 

If a column is function with single param and the param is a column, use the column name as alias.
                
> Use name of original expression for name of CAST output
> -------------------------------------------------------
>
>                 Key: HIVE-2477
>                 URL: https://issues.apache.org/jira/browse/HIVE-2477
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Adam Kramer
>            Priority: Minor
>         Attachments: HIVE-2477.1.patch.txt
>
>
> CAST(foo AS INT)
> should, by default, consider itself a column named foo if unspecified/unaliased.

--
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