Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Jul 2, 2024
1 parent 8584eb3 commit 9c4aa5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ under the License.
<scala.plugin.version>4.7.2</scala.plugin.version>
<scalatest.version>3.2.9</scalatest.version>
<scalatest-maven-plugin.version>2.0.2</scalatest-maven-plugin.version>
<spark.version>3.4.3</spark.version>
<spark.version>3.4.0.63-apple-SNAPSHOT</spark.version>
<spark.version.short>3.4</spark.version.short>
<spark.maven.scope>provided</spark.maven.scope>
<protobuf.version>3.19.6</protobuf.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package org.apache.spark.sql
import org.apache.spark.SparkConf
import org.apache.spark.internal.config.{MEMORY_OFFHEAP_ENABLED, MEMORY_OFFHEAP_SIZE}
import org.apache.spark.sql.comet.shims.ShimCometTPCDSQuerySuite
import org.apache.spark.sql.internal.SQLConf

import org.apache.comet.CometConf

Expand Down Expand Up @@ -104,10 +105,10 @@ class CometTPCDSQuerySuite
"q61",
"q62",
"q63",
"q64",
// "q64", java.lang.OutOfMemoryError: Java heap space
"q65",
"q66",
"q67",
// "q67",
"q68",
"q69",
"q70",
Expand Down Expand Up @@ -154,14 +155,16 @@ class CometTPCDSQuerySuite
"spark.shuffle.manager",
"org.apache.spark.sql.comet.execution.shuffle.CometShuffleManager")
conf.set(CometConf.COMET_ENABLED.key, "true")
conf.set(CometConf.COMET_BATCH_SIZE.key, "1000")
conf.set(CometConf.COMET_EXEC_ENABLED.key, "true")
conf.set(CometConf.COMET_EXEC_ALL_OPERATOR_ENABLED.key, "true")
conf.set(CometConf.COMET_EXEC_SHUFFLE_ENABLED.key, "true")
conf.set(CometConf.COMET_MEMORY_OVERHEAD.key, "20g")
conf.set(CometConf.COMET_SHUFFLE_ENFORCE_MODE_ENABLED.key, "true")
conf.set("spark.sql.adaptive.coalescePartitions.enabled", "true")
conf.set(SQLConf.COALESCE_PARTITIONS_ENABLED.key, "true")
conf.set(SQLConf.SHUFFLE_PARTITIONS, 10)
conf.set(MEMORY_OFFHEAP_ENABLED.key, "true")
conf.set(MEMORY_OFFHEAP_SIZE.key, "20g")
conf.set(MEMORY_OFFHEAP_SIZE.key, "30g")
conf
}

Expand Down

0 comments on commit 9c4aa5e

Please sign in to comment.