[ 
https://issues.apache.org/jira/browse/HIVE-26655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703688#comment-17703688
 ] 

László Bodor commented on HIVE-26655:
-------------------------------------

I was able to reproduce and find the root cause, it's related to the way we 
process batches, by the time we start processing the data in async way (not on 
the main task thread), input vector can be 
[reset|https://github.com/apache/hive/blob/33b02ebb317f261bfb2a9a6dde740fbe565c6946/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java#L499]
 before we have the chance to 
[process|https://github.com/apache/hive/blob/33b02ebb317f261bfb2a9a6dde740fbe565c6946/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java#L497]
 data, working on the solution

> TPC-DS query 17 returns wrong results
> -------------------------------------
>
>                 Key: HIVE-26655
>                 URL: https://issues.apache.org/jira/browse/HIVE-26655
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sungwoo Park
>            Assignee: László Bodor
>            Priority: Major
>
> When tested with 100GB ORC tables, the number of rows returned by query 17 is 
> not stable. It returns fewer rows than the correct result (55 rows).
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to