rahil-c commented on code in PR #17573:
URL: https://github.com/apache/hudi/pull/17573#discussion_r2632586381


##########
hudi-spark-datasource/hudi-spark3.3.x/src/main/scala/org/apache/spark/sql/avro/HoodieSpark3_3AvroDeserializer.scala:
##########
@@ -17,15 +17,16 @@
 
 package org.apache.spark.sql.avro
 
-import org.apache.avro.Schema
+import org.apache.hudi.common.schema.HoodieSchema
+
 import org.apache.spark.sql.internal.SQLConf
 import org.apache.spark.sql.internal.SQLConf.LegacyBehaviorPolicy
 import org.apache.spark.sql.types.DataType
 
-class HoodieSpark3_3AvroDeserializer(rootAvroType: Schema, rootCatalystType: 
DataType)
+class HoodieSpark3_3AvroDeserializer(rootType: HoodieSchema, rootCatalystType: 
DataType)

Review Comment:
   @yihua mentioned to keep these as avro schemas and only the adapter needs to 
be changed for each spark version.



-- 
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]

Reply via email to