[
https://issues.apache.org/jira/browse/HIVE-21724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849798#comment-16849798
]
Hive QA commented on HIVE-21724:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12970014/HIVE-21724.2.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 16063 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17327/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17327/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17327/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12970014 - PreCommit-HIVE-Build
> Nested ARRAY and STRUCT inside MAP don't work with LazySimpleDeserializeRead
> ----------------------------------------------------------------------------
>
> Key: HIVE-21724
> URL: https://issues.apache.org/jira/browse/HIVE-21724
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Affects Versions: 3.1.1
> Reporter: Daniel Voros
> Assignee: Daniel Voros
> Priority: Major
> Attachments: HIVE-21724.1.patch, HIVE-21724.2.patch,
> HIVE-21724.2.patch, HIVE-21724.2.patch
>
>
> The logic during vectorized execution that keeps track of how deep we are in
> the nested structure doesn't work for ARRAYs and STRUCTs embedded inside maps.
> Repro steps (with hive.vectorized.execution.enabled=true):
> {code}
> CREATE TABLE srctable(a map<int,array<int>>) STORED AS TEXTFILE;
> create table desttable(c1 map<int,array<int>>);
> insert into srctable values (map(1, array(1, 2, 3)));
> insert into desttable select a from srctable;
> select * from desttable;
> {code}
> Will produce:
> {code}
> {1:[null]}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)