Grokbase Groups Hive dev July 2011
FAQ
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1223/
-----------------------------------------------------------

(Updated 2011-08-02 23:28:01.105364)


Review request for hive, Yongqiang He, namit jain, and Siying Dong.


Summary
-------

UNION ALL on columns of different types is semantically allowed but throws a runtime exception due to bugs in getting the correct object inspector after the parent MR input file is change and in setting the TypeInfo for the union row schema.


This addresses bug hive-2305.
https://issues.apache.org/jira/browse/hive-2305


Diffs
-----

trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnInfo.java 1151937
trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 1151937
trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java 1151937
trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/UnionOperator.java 1151937
trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 1151937
trunk/ql/src/test/queries/clientpositive/union24.q PRE-CREATION
trunk/ql/src/test/results/clientpositive/union24.q.out PRE-CREATION
trunk/ql/src/test/results/compiler/plan/union.q.xml 1151937

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


Testing
-------

unit tests pass


Thanks,

Franklin

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupdev @
categorieshive, hadoop
postedJul 29, '11 at 6:31p
activeAug 2, '11 at 11:27p
posts2
users1
websitehive.apache.org

1 user in discussion

Franklin Hu: 2 posts

People

Translate

site design / logo © 2021 Grokbase