You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yi Zhang (Jira)" <ji...@apache.org> on 2022/12/07 18:49:00 UTC

[jira] [Updated] (HIVE-26447) Vectorization: wrong results when filter on repeating map key orc table

     [ https://issues.apache.org/jira/browse/HIVE-26447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Zhang updated HIVE-26447:
----------------------------
    Affects Version/s: 4.0.0-alpha-1
                           (was: 4.0.0)

> 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-alpha-1
>            Reporter: Yi Zhang
>            Assignee: Yi Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-2
>
>          Time Spent: 3.5h
>  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)