Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - Review Request: CTAS with literal NULL creates VOID type


Copy link to this message
-
Review Request: CTAS with literal NULL creates VOID type
Zhuoluo Yang 2013-06-04, 07:33

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