yihua commented on code in PR #11450:
URL: https://github.com/apache/hudi/pull/11450#discussion_r1638823816


##########
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:
   Is it possible to write a unit test so that the test fails before this fix 
and succeeds after the fix?



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