You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2023/05/22 22:42:21 UTC

[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #41263: [SPARK-43333][CORE] Allow Avro to convert union type to SQL with field name stable with type

dongjoon-hyun commented on code in PR #41263:
URL: https://github.com/apache/spark/pull/41263#discussion_r1201257860


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3413,6 +3413,14 @@ object SQLConf {
     .booleanConf
     .createWithDefault(true)
 
+  val AVRO_STABLE_ID_FOR_UNION_TYPE = buildConf(
+    "spark.sql.avro.enableStableIdentifiersForUnionType")
+    .doc("When Avro is desrialized to SQL schema, the union type is converted to structure in a " +
+      "way that field names of the structure are stable with the type, in most cases.")
+    .version("3.4.0")

Review Comment:
   `3.5.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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org