[
https://issues.apache.org/jira/browse/HIVE-26447?focusedWorklogId=798630&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-798630
]
ASF GitHub Bot logged work on HIVE-26447:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Aug/22 14:31
Start Date: 06/Aug/22 14:31
Worklog Time Spent: 10m
Work Description: jfsii commented on PR #3492:
URL: https://github.com/apache/hive/pull/3492#issuecomment-1207224851
Hi @sunchao / @yigress - I think some of the test failures could be related
to this patch.
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3492/3/pipeline/439
(which is from the run on this PR)
[2022-08-05T04:08:23.465Z] [ERROR]
org.apache.hadoop.hive.cli.split16.TestMiniLlapLocalCliDriver.testCliDriver[orc_map_key_repeating]
Time elapsed: 3.725 s <<< FAILURE!
[2022-08-05T04:08:23.465Z] java.lang.AssertionError:
[2022-08-05T04:08:23.465Z] Client Execution succeeded but contained
differences (error code = 2) after executing orc_map_key_repeating.q
[2022-08-05T04:08:23.465Z] See ./ql/target/tmp/log/hive.log or
./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports
or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
[2022-08-05T04:08:23.465Z] at org.junit.Assert.fail(Assert.java:89)
This PR directly added orc_map_key_repeating.
Issue Time Tracking
-------------------
Worklog Id: (was: 798630)
Time Spent: 2h 10m (was: 2h)
> Vectorization: wrong results when filter on repeating map key orc table
> -----------------------------------------------------------------------
>
> Key: HIVE-26447
> URL: https://issues.apache.org/jira/browse/HIVE-26447
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 3.1.3, 4.0.0
> Reporter: Yi Zhang
> Assignee: Yi Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Example reproducible case:
>
> set hive.vectorized.execution.enabled=true;
> set hive.fetch.task.conversion=none;
> create temporary table foo (id int, x map<string,int>) stored as orc;
> insert into foo values(1, map('ABC', 9)), (2, map('ABC', 7)), (3, map('ABC',
> 8)), (4, map('ABC', 9));
> select id from foo where x['ABC']=9;
> this only gives 1, when correct result should be 1,4
> For every VectorizedRowBatch, only the first row is checked.
> This seems to be a corner case of ORC table have repeating string type key
> for map field in the MapColumnVector.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)