Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9565 Spark SQL 1.5.0 QA/testing umbrella
  3. SPARK-9925

Set SQLConf.SHUFFLE_PARTITIONS.key correctly for tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • SQL
    • None
    • Spark 1.5 doc/QA sprint

    Description

      Right now, in our TestSQLContext/TestHiveContext, we use override def numShufflePartitions: Int = this.getConf(SQLConf.SHUFFLE_PARTITIONS, 5) to set SHUFFLE_PARTITIONS. However, we never put it to SQLConf. So, after we use withSQLConf(SQLConf.SHUFFLE_PARTITIONS.key -> "number"), the number of shuffle partitions will be set back to 200.

      Attachments

        Activity

          People

            yhuai Yin Huai
            yhuai Yin Huai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: