You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Navis Ryu <na...@nexr.com> on 2015/02/09 02:53:41 UTC

Review Request 30778: NPE for invalid union all

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30778/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-9513
    https://issues.apache.org/jira/browse/HIVE-9513


Repository: hive-git


Description
-------

NPE duting parsing  of :

{noformat}
select * from (
     select * from ( select 1 as id , "foo" as str_1 from staging.dual ) f
  union	all
     select * from ( select 2 as id , "bar" as str_2 from staging.dual ) g
) e ;
{noformat}


Diffs
-----

  itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java 7c09fcc 
  ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java 3a613a2 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 2466d78 
  ql/src/test/queries/clientnegative/union3.q ce65747 
  ql/src/test/queries/clientpositive/union35.q PRE-CREATION 
  ql/src/test/results/clientnegative/union3.q.out de1c62b 
  ql/src/test/results/clientpositive/union35.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/30778/diff/


Testing
-------


Thanks,

Navis Ryu