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 76E5411048 for ; Thu, 18 Sep 2014 23:02:55 +0000 (UTC) Received: (qmail 13065 invoked by uid 500); 18 Sep 2014 23:02:55 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 13000 invoked by uid 500); 18 Sep 2014 23:02:55 -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 12988 invoked by uid 99); 18 Sep 2014 23:02:54 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 23:02:54 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id ADF6A1DD861; Thu, 18 Sep 2014 23:02:52 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5903720178971086508==" MIME-Version: 1.0 Subject: Review Request 25800: inconsistence between colList and columnExprMap when ConstantPropagate is applied to subquery From: "pengcheng xiong" To: "pengcheng xiong" , "hive" Date: Thu, 18 Sep 2014 23:02:52 -0000 Message-ID: <20140918230252.7800.49262@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "pengcheng xiong" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/25800/ X-Sender: "pengcheng xiong" Reply-To: "pengcheng xiong" X-ReviewRequest-Repository: hive-git --===============5903720178971086508== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25800/ ----------------------------------------------------------- Review request for hive. Repository: hive-git Description ------- Query like select * from (select a.key as ak, a.value as av, b.key as bk, b.value as bv from src a join src1 b where a.key = '428' ) c; will fail as FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConstantPropagateProcFactory.java 790a92e ql/src/test/queries/clientpositive/constantPropagateForSubQuery.q PRE-CREATION ql/src/test/results/clientpositive/constantPropagateForSubQuery.q.out PRE-CREATION Diff: https://reviews.apache.org/r/25800/diff/ Testing ------- Thanks, pengcheng xiong --===============5903720178971086508==--