You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "deshanxiao (Jira)" <ji...@apache.org> on 2019/12/03 07:57:00 UTC
[jira] [Created] (SPARK-30106) DynamicPartitionPruningSuite#"no
predicate on the dimension table" is not be tested
deshanxiao created SPARK-30106:
----------------------------------
Summary: 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
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