yihua commented on code in PR #11450:
URL: https://github.com/apache/hudi/pull/11450#discussion_r1640398375
##########
hudi-hadoop-common/src/main/java/org/apache/parquet/avro/HoodieAvroReadSupport.java:
##########
@@ -51,6 +51,10 @@ public ReadContext init(Configuration configuration,
Map<String, String> keyValu
configuration.set(AvroWriteSupport.WRITE_OLD_LIST_STRUCTURE,
"false", "support reading avro from non-legacy map/list in parquet
file");
}
+ if (legacyMode) {
Review Comment:
Great. What I meant is that new tests should be added, which failed before
this fix and succeed after this fix, which is what you're doing.
--
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]