[
https://issues.apache.org/jira/browse/HIVE-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638688#comment-13638688
]
Hudson commented on HIVE-4295:
------------------------------
Integrated in Hive-trunk-hadoop2 #170 (See
[https://builds.apache.org/job/Hive-trunk-hadoop2/170/])
HIVE-4295 : Lateral view makes invalid result if CP is disabled (Navis via
Ashutosh Chauhan) (Revision 1470580)
Result = FAILURE
hashutosh :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1470580
Files :
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/udtf_explode.q
* /hive/trunk/ql/src/test/results/clientnegative/udf_assert_true.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_assert_true2.q.out
* /hive/trunk/ql/src/test/results/clientpositive/lateral_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/lateral_view_ppd.q.out
* /hive/trunk/ql/src/test/results/clientpositive/multi_insert_lateral_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udtf_explode.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udtf_json_tuple.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udtf_parse_url_tuple.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udtf_stack.q.out
* /hive/trunk/ql/src/test/results/clientpositive/union26.q.out
> Lateral view makes invalid result if CP is disabled
> ---------------------------------------------------
>
> Key: HIVE-4295
> URL: https://issues.apache.org/jira/browse/HIVE-4295
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Fix For: 0.12.0
>
> Attachments: HIVE-4295.2.patch.txt, HIVE-4295.D9963.1.patch
>
>
> For example,
> {noformat}
> >SELECT src.key, myKey, myVal FROM src lateral view
> >explode(map(1,'one',2,'two',3,'three')) x AS myKey,myVal LIMIT 3;
> 238 1 one
> 238 2 two
> 238 3 three
> {noformat}
> After CP disabled,
> {noformat}
> >SELECT src.key, myKey, myVal FROM src lateral view
> >explode(map(1,'one',2,'two',3,'three')) x AS myKey,myVal LIMIT 3;
> 238 0 hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> 238 0 hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> 238 0 hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> {noformat}
--
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