Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B409F07F for ; Fri, 5 Apr 2013 03:14:18 +0000 (UTC) Received: (qmail 96911 invoked by uid 500); 5 Apr 2013 03:14:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 96727 invoked by uid 500); 5 Apr 2013 03:14:16 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 96708 invoked by uid 500); 5 Apr 2013 03:14:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 96703 invoked by uid 99); 5 Apr 2013 03:14:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 03:14:16 +0000 Date: Fri, 5 Apr 2013 03:14:16 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4295) Lateral view makes invalid result if CP is disabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-4295: ------------------------------ Attachment: HIVE-4295.D9963.1.patch navis requested code review of "HIVE-4295 [jira] Lateral view makes invalid result if CP is disabled". Reviewers: JIRA HIVE-4295 Lateral view makes invalid result if CP is disabled For example, 238 1 one 238 2 two 238 3 three After CP disabled, 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 TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D9963 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java ql/src/test/queries/clientpositive/udtf_explode.q ql/src/test/results/clientpositive/lateral_view.q.out ql/src/test/results/clientpositive/lateral_view_ppd.q.out ql/src/test/results/clientpositive/udtf_explode.q.out ql/src/test/results/clientpositive/udtf_json_tuple.q.out ql/src/test/results/clientpositive/udtf_parse_url_tuple.q.out ql/src/test/results/clientpositive/udtf_stack.q.out ql/src/test/results/clientpositive/union26.q.out MANAGE HERALD RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/23799/ To: JIRA, navis > 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 > Attachments: 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