[
https://issues.apache.org/jira/browse/SPARK-32444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuming Wang updated SPARK-32444:
--------------------------------
Description:
For [this test
suite|https://github.com/apache/spark/blob/69be17bfc3845668fd8f5aed8026c04da4496677/sql/core/src/test/scala/org/apache/spark/sql/DynamicPartitionPruningSuite.scala#L1285-L1297].
Table {{fact_stats}} is partitioned by {{store_id}} and table {{code_stats}} is
partitioned by {{store_id}}.
DPP add a new predicate: {{fact_stats.store_id IN dynamicpruning#2723}}.
We can infer {{code_stats.store_id IN dynamicpruning#2723}} base on
[{{t1.store_id =
t2.store_id}}|https://github.com/apache/spark/blob/69be17bfc3845668fd8f5aed8026c04da4496677/sql/core/src/test/scala/org/apache/spark/sql/DynamicPartitionPruningSuite.scala#L1294].
> Infer filters from DPP
> ----------------------
>
> Key: SPARK-32444
> URL: https://issues.apache.org/jira/browse/SPARK-32444
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Yuming Wang
> Assignee: Apache Spark
> Priority: Major
>
> For [this test
> suite|https://github.com/apache/spark/blob/69be17bfc3845668fd8f5aed8026c04da4496677/sql/core/src/test/scala/org/apache/spark/sql/DynamicPartitionPruningSuite.scala#L1285-L1297].
> Table {{fact_stats}} is partitioned by {{store_id}} and table {{code_stats}}
> is partitioned by {{store_id}}.
> DPP add a new predicate: {{fact_stats.store_id IN dynamicpruning#2723}}.
> We can infer {{code_stats.store_id IN dynamicpruning#2723}} base on
> [{{t1.store_id =
> t2.store_id}}|https://github.com/apache/spark/blob/69be17bfc3845668fd8f5aed8026c04da4496677/sql/core/src/test/scala/org/apache/spark/sql/DynamicPartitionPruningSuite.scala#L1294].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]