Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonwang-db committed Nov 20, 2024
1 parent 94b1ddd commit a397641
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3189,14 +3189,6 @@ object SQLConf {
.version("4.0.0")
.fallbackConf(Python.PYTHON_WORKER_FAULTHANLDER_ENABLED)

val PYTHON_DATA_SOURCE_STATIC_IMPORT_ENABLED =
buildConf("spark.sql.pyspark.dataSource.staticImport.enabled")
.doc("When true, load all available Python data sources installed or " +
"discoverable in the Python environment.")
.version("4.0.0")
.booleanConf
.createWithDefault(false)

val PYSPARK_PLOT_MAX_ROWS =
buildConf("spark.sql.pyspark.plotting.max_rows")
.doc("The visual limit on plots. If set to 1000 for top-n-based plots (pie, bar, barh), " +
Expand Down Expand Up @@ -5942,7 +5934,7 @@ class SQLConf extends Serializable with Logging with SqlApiConf {
def pythonUDFWorkerFaulthandlerEnabled: Boolean = getConf(PYTHON_UDF_WORKER_FAULTHANLDER_ENABLED)

def pythonDataSourceStaticImportEnabled: Boolean =
getConf(PYTHON_DATA_SOURCE_STATIC_IMPORT_ENABLED)
getConf(StaticSQLConf.PYTHON_DATA_SOURCE_STATIC_IMPORT_ENABLED)

def pysparkPlotMaxRows: Int = getConf(PYSPARK_PLOT_MAX_ROWS)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,12 @@ object StaticSQLConf {
.version("3.1.0")
.stringConf
.createWithDefault("")

val PYTHON_DATA_SOURCE_STATIC_IMPORT_ENABLED =
buildStaticConf("spark.sql.pyspark.sources.staticImport.enabled")
.doc("When true, load all available Python data sources installed or " +
"discoverable in the Python environment.")
.version("4.0.0")
.booleanConf
.createWithDefault(false)
}

0 comments on commit a397641

Please sign in to comment.