Description
The test "no predicate on the dimension table is not be tested" has no partiton key. We can change the sql to test it.
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) }
Attachments
Issue Links
- links to