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 2021/08/06 07:29:00 UTC
[jira] [Updated] (SPARK-36444) Remove OptimizeSubqueries from batch
of PartitionPruning
[ https://issues.apache.org/jira/browse/SPARK-36444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuming Wang updated SPARK-36444:
--------------------------------
Description:
To support this case:
{code:scala}
sql(
"""
|SELECT date_id, product_id FROM fact_sk f
|JOIN (select store_id + 3 as new_store_id from dim_store where country = 'US') s
|ON f.store_id = s.new_store_id
""".stripMargin)
{code}
was:
To support this case:
{code:sala}
sql(
"""
|SELECT date_id, product_id FROM fact_sk f
|JOIN (select store_id + 3 as new_store_id from dim_store where country = 'US') s
|ON f.store_id = s.new_store_id
""".stripMargin)
{code}
> Remove OptimizeSubqueries from batch of PartitionPruning
> --------------------------------------------------------
>
> Key: SPARK-36444
> URL: https://issues.apache.org/jira/browse/SPARK-36444
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Yuming Wang
> Priority: Major
>
> To support this case:
> {code:scala}
> sql(
> """
> |SELECT date_id, product_id FROM fact_sk f
> |JOIN (select store_id + 3 as new_store_id from dim_store where country = 'US') s
> |ON f.store_id = s.new_store_id
> """.stripMargin)
> {code}
--
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