Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Set default value to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 7, 2022
1 parent 2a99d57 commit 9de4841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class GazellePluginConfig(conf: SQLConf) extends Logging {
// the whole stage fallback. This feature will be turned off if -1 is specified.
val WHOLE_STAGE_FALLBACK_THRESHOLD_KEY = "spark.oap.sql.columnar.wholeStage.fallback.threshold"
val WHOLE_STAGE_FALLBACK_THRESHOLD: Int =
conf.getConfString(WHOLE_STAGE_FALLBACK_THRESHOLD_KEY, "4").toInt
conf.getConfString(WHOLE_STAGE_FALLBACK_THRESHOLD_KEY, "-1").toInt

// enable or disable columnar project and filter
val enableColumnarProjFilter: Boolean =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ case class ColumnarOverrideRules(session: SparkSession) extends ColumnarRule wit
def enableArrowColumnarToRow: Boolean =
conf.getBoolean("spark.oap.sql.columnar.columnartorow", defaultValue = true)
def wholeStageFallbackThreshold: Int =
conf.getInt("spark.oap.sql.columnar.wholeStage.fallback.threshold", defaultValue = 4)
conf.getInt("spark.oap.sql.columnar.wholeStage.fallback.threshold", defaultValue = -1)

var isSupportAdaptive: Boolean = true

Expand Down

0 comments on commit 9de4841

Please sign in to comment.