You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Zhuoluo Yang <zh...@taobao.com> on 2013/06/04 09:33:05 UTC

Review Request: CTAS with literal NULL creates VOID type

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

Review request for hive.


Description
-------

The checks after result schema is generated.
if CTAS and contains void, it raise an exception and ask user to cast the type.


This addresses bug HIVE-2615.
    https://issues.apache.org/jira/browse/HIVE-2615


Diffs
-----

  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java 1489292 
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 1489292 
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientnegative/ctas_creates_void.q PRE-CREATION 
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientnegative/ctas_creates_void.q.out PRE-CREATION 

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


Testing
-------

ant test -Dtestcase=TestNegativeCliDriver -Dqfile=ctas_creates_void.q


Thanks,

Zhuoluo Yang