You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2020/08/18 15:06:00 UTC

[jira] [Updated] (SPARK-32444) Infer filters from DPP

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org