yihua commented on code in PR #18431:
URL: https://github.com/apache/hudi/pull/18431#discussion_r3019889683
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/avro/HoodieSparkSchemaConverters.scala:
##########
@@ -60,6 +60,24 @@ object HoodieSparkSchemaConverters extends
SparkAdapterSupport {
recordName: String = "topLevelRecord",
nameSpace: String = "",
metadata: Metadata = Metadata.empty): HoodieSchema = {
+ toHoodieTypeNested(catalystType, nullable, recordName, nameSpace,
metadata, depth = 0)
Review Comment:
Got it, as long as the `HoodieSchema` class enforces the same validation on
nested vector type, we should be good.
--
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]