felixcheung commented on a change in pull request #23534: [SPARK-26610][PYTHON] 
Fix inconsistency between toJSON Method in Python and Scala.
URL: https://github.com/apache/spark/pull/23534#discussion_r247393723
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -1625,6 +1625,14 @@ object SQLConf {
         "a SparkConf entry.")
       .booleanConf
       .createWithDefault(true)
+
+  val PYSPARK_DATAFRAME_TOJSON_SHOULD_RETURN_DATAFRAME =
+    buildConf("spark.sql.legacy.pyspark.dataframe.toJsonShouldReturnDataFrame")
 
 Review comment:
   `spark.sql.legacy.pyspark.toJsonShouldReturnDataFrame`?
   `spark.sql.legacy.python.toJsonShouldReturnDataFrame`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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