nchammas commented on code in PR #44300:
URL: https://github.com/apache/spark/pull/44300#discussion_r1423147435
##########
sql/core/src/main/scala/org/apache/spark/sql/api/python/PythonSQLUtils.scala:
##########
@@ -72,6 +72,14 @@ private[sql] object PythonSQLUtils extends Logging {
FunctionRegistry.functionSet.flatMap(f =>
FunctionRegistry.builtin.lookupFunction(f)).toArray
}
+ def listAllSQLConfigsWithTags():
+ Array[(String, String, String, String, Array[String])] = {
+ val conf = new SQLConf()
+ conf.getAllDefinedConfsWithTags.map(c =>
+ Tuple5(c._1, c._2, c._3, c._4, c._5.toArray)
+ ).toArray
+ }
+
private def listAllSQLConfigs(): Seq[(String, String, String, String)] = {
Review Comment:
We can remove some of these other methods if we go with this PR's approach
of assigning arbitrary tags to configs.
That includes:
- `listAllSQLConfigs`
- `listRuntimeSQLConfigs`
- `listStaticSQLConfigs`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]