spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-30106) DynamicPartitionPruningSuite#"no predicate on the dimension table" is not be tested
Date Tue, 03 Dec 2019 22:29:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-30106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dongjoon Hyun reassigned SPARK-30106:
-------------------------------------

    Assignee: deshanxiao

> 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
>
> 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


Mime
View raw message