hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis Ryu" <navis....@nexr.com>
Subject Review Request 30778: NPE for invalid union all
Date Mon, 09 Feb 2015 01:53:41 GMT

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


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