hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2608) Do not require AS a,b,c part in LATERAL VIEW
Date Wed, 25 Jul 2012 02:29:36 GMT

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

Navis updated HIVE-2608:
------------------------

    Affects Version/s: 0.10.0
               Status: Patch Available  (was: Open)

https://reviews.facebook.net/D4317
                
> Do not require AS a,b,c part in LATERAL VIEW
> --------------------------------------------
>
>                 Key: HIVE-2608
>                 URL: https://issues.apache.org/jira/browse/HIVE-2608
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor, UDF
>    Affects Versions: 0.10.0
>            Reporter: Igor Kabiljo
>            Assignee: Navis
>            Priority: Minor
>
> Currently, it is required to state column names when LATERAL VIEW is used.
> That shouldn't be necessary, since UDTF returns struct which contains column names -
and they should be used by default.
> For example, it would be great if this was possible:
> SELECT t.*, t.key1 + t.key4
> FROM some_table
> LATERAL VIEW JSON_TUPLE(json, 'key1', 'key2', 'key3', 'key3') t;

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

        

Mime
View raw message