[
https://issues.apache.org/jira/browse/HIVE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-4149:
------------------------------
Attachment: HIVE-4149.D9747.1.patch
navis requested code review of "HIVE-4149 [jira] wrong results big outer joins
with array of ints".
Reviewers: JIRA
HIVE-4149 Lazy array returns value of prev row instead of null when called twice
Consider the following query:
create table tinyA(a bigint, b bigint) stored as textfile;
create table tinyB(a bigint, bList array<int>) stored as textfile;
load data local inpath '../data/files/tiny_a' into table tinyA;
load data local inpath '../data/files/tiny_b' into table tinyB;
select * from tinyA;
select * from tinyB;
select tinyB.a, tinyB.bList from tinyB full outer join tinyA on tinyB.a =
tinyA.a;
The results are wrong
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D9747
AFFECTED FILES
serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyArray.java
serde/src/test/org/apache/hadoop/hive/serde2/lazy/TestLazyArrayMapStruct.java
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/23247/
To: JIRA, navis
> wrong results big outer joins with array of ints
> ------------------------------------------------
>
> Key: HIVE-4149
> URL: https://issues.apache.org/jira/browse/HIVE-4149
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Navis
> Attachments: hive.4149.1.patch, HIVE-4149.D9747.1.patch
>
>
> Consider the following query:
> create table tinyA(a bigint, b bigint) stored as textfile;
> create table tinyB(a bigint, bList array<int>) stored as textfile;
> load data local inpath '../data/files/tiny_a' into table tinyA;
> load data local inpath '../data/files/tiny_b' into table tinyB;
> select * from tinyA;
> select * from tinyB;
> select tinyB.a, tinyB.bList from tinyB full outer join tinyA on tinyB.a =
> tinyA.a;
> The results are wrong
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira