nchammas commented on a change in pull request #27459: [SPARK-30510][SQL][Docs] 
Publicly document Spark SQL configuration options
URL: https://github.com/apache/spark/pull/27459#discussion_r374938777
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/api/python/PythonSQLUtils.scala
 ##########
 @@ -39,6 +40,11 @@ private[sql] object PythonSQLUtils {
     FunctionRegistry.functionSet.flatMap(f => 
FunctionRegistry.builtin.lookupFunction(f)).toArray
   }
 
+  def listSQLConfigs(): Array[(String, String, String)] = {
+    val conf = new SQLConf()
+    conf.getAllDefinedConfs.toArray
 
 Review comment:
   The original `Seq` wouldn't translate over into Python, so I had to convert 
this to an `Array`. I wonder if there's a cleaner way to do this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to