hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pengcheng xiong" <pxi...@hortonworks.com>
Subject Review Request 25800: inconsistence between colList and columnExprMap when ConstantPropagate is applied to subquery
Date Thu, 18 Sep 2014 23:02:52 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message