[
https://issues.apache.org/jira/browse/HIVE-26968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko updated HIVE-26968:
----------------------------------
Target Version/s: 4.0.0
> SharedWorkOptimizer merges TableScan operators that have different DPP parents
> ------------------------------------------------------------------------------
>
> Key: HIVE-26968
> URL: https://issues.apache.org/jira/browse/HIVE-26968
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: 4.0.0-alpha-2
> Reporter: Seonggon Namgung
> Assignee: Seonggon Namgung
> Priority: Critical
> Labels: hive-4.0.0-must, pull-request-available
> Attachments: TPC-DS Query64 OperatorGraph.pdf
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> SharedWorkOptimizer merges TableScan operators that have different DPP
> parents, which leads to the creation of semantically wrong query plan.
> In our environment, running TPC-DS query64 on 1TB Iceberg format table
> returns no rows because of this problem. (The correct result has 7094 rows.)
> We use hive.optimize.shared.work=true,
> hive.optimize.shared.work.extended=true, and
> hive.optimize.shared.work.dppunion=false to reproduce the bug.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)