[
https://issues.apache.org/jira/browse/HIVE-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707970#comment-13707970
]
Phabricator commented on HIVE-2608:
-----------------------------------
ashutoshc has requested changes to the revision "HIVE-2608 [jira] Do not
require AS a,b,c part in LATERAL VIEW".
INLINE COMMENTS
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:2503 I
think this ErrorMsg enum can now be removed from ErrorMsg.java altogether. If
so, it will be good to remove this to avoid confusion.
REVISION DETAIL
https://reviews.facebook.net/D4317
BRANCH
HIVE-2608
ARCANIST PROJECT
hive
To: JIRA, ashutoshc, navis
Cc: ikabiljo
> 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
> Reporter: Igor Kabiljo
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-2608.D4317.5.patch, HIVE-2608.D4317.6.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira