rahil-c commented on code in PR #18540:
URL: https://github.com/apache/hudi/pull/18540#discussion_r3142855167
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/avro/HoodieSparkSchemaConverters.scala:
##########
@@ -278,10 +282,22 @@ object HoodieSparkSchemaConverters extends
SparkAdapterSupport {
metadataBuilder.putString(HoodieSchema.TYPE_METADATA_FIELD,
HoodieSchema.Blob.TYPE_DESCRIPTOR)
}
val metadata = metadataBuilder.build()
- StructField(f.name(), schemaType.dataType, schemaType.nullable,
metadata)
+ // For BLOB: force nullable-everywhere at the Spark type layer. The
RFC-100
Review Comment:
@yihua Should we file some github issue for this to maybe relax this
constraint?
--
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]