You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2013/08/14 17:43:50 UTC

[jira] [Commented] (HIVE-2608) Do not require AS a,b,c part in LATERAL VIEW

    [ https://issues.apache.org/jira/browse/HIVE-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739783#comment-13739783 ] 

Hive QA commented on HIVE-2608:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12597899/HIVE-2608.D4317.8.patch

{color:green}SUCCESS:{color} +1 2856 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/435/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/435/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.
                
> 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.8.patch.txt, HIVE-2608.D4317.5.patch, HIVE-2608.D4317.6.patch, HIVE-2608.D4317.7.patch, HIVE-2608.D4317.8.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