HyukjinKwon commented on code in PR #36545:
URL: https://github.com/apache/spark/pull/36545#discussion_r874336689
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3758,6 +3758,15 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val LEGACY_INFER_ARRAY_TYPE_FROM_FIRST_ELEMENT =
+
buildConf("spark.sql.pyspark.legacy.inferArrayTypeFromFirstElement.enabled")
+ .doc("PySpark's SparkSession.createDataFrame infers the element type of
an array from all " +
+ "values in the array by default. If this config is set to true, it
restores the legacy " +
+ "behavior of only inferring the type from the first array element.")
+ .version("3.3.0")
Review Comment:
```suggestion
.version("3.4.0")
```
--
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]