You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/12/03 22:29:00 UTC
[jira] [Resolved] (SPARK-30106) DynamicPartitionPruningSuite#"no
predicate on the dimension table" is not be tested
[ https://issues.apache.org/jira/browse/SPARK-30106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-30106.
-----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 26744
[https://github.com/apache/spark/pull/26744]
> DynamicPartitionPruningSuite#"no predicate on the dimension table" is not be tested
> -----------------------------------------------------------------------------------
>
> Key: SPARK-30106
> URL: https://issues.apache.org/jira/browse/SPARK-30106
> Project: Spark
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 3.0.0
> Reporter: deshanxiao
> Assignee: deshanxiao
> Priority: Minor
> Fix For: 3.0.0
>
>
> The test "no predicate on the dimension table is not be tested" has no partiton key. We can change the sql to test it.
> {code:java}
> Given("no predicate on the dimension table")
> withSQLConf(SQLConf.DYNAMIC_PARTITION_PRUNING_ENABLED.key -> "true") {
> val df = sql(
> """
> |SELECT * FROM fact_sk f
> |JOIN dim_store s
> |ON f.date_id = s.store_id
> """.stripMargin)
> checkPartitionPruningPredicate(df, false, false)
> }
> {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