Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30106

DynamicPartitionPruningSuite#"no predicate on the dimension table" is not be tested

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Tests
    • None

    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

          Activity

            People

              deshanxiao Deshan Xiao
              deshanxiao Deshan Xiao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: