You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/08/03 00:36:24 UTC

[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #6279: [HUDI-4525] Fixing Spark 3.3 `AvroSerializer` implementation

alexeykudinkin commented on code in PR #6279:
URL: https://github.com/apache/hudi/pull/6279#discussion_r936138362


##########
hudi-spark-datasource/hudi-spark3.3.x/src/main/scala/org/apache/spark/sql/avro/AvroSerializer.scala:
##########
@@ -292,6 +309,60 @@ private[sql] class AvroSerializer(
       result
   }
 
+  ////////////////////////////////////////////////////////////////////////////////////////////
+  // Following section is amended to the original (Spark's) implementation
+  // >>> BEGINS
+  ////////////////////////////////////////////////////////////////////////////////////////////
+
+  private def newUnionConverter(catalystStruct: StructType,

Review Comment:
   There're UT that cover 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

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