ThinkerLei commented on code in PR #7052:
URL: https://github.com/apache/hudi/pull/7052#discussion_r1507091359


##########
hudi-common/src/test/java/org/apache/hudi/common/functional/TestHoodieLogFormat.java:
##########
@@ -2347,7 +2347,7 @@ public void 
testDataBlockFormatAppendAndReadWithProjectedSchema(
           new HashMap<HoodieLogBlockType, Integer>() {{
             put(HoodieLogBlockType.AVRO_DATA_BLOCK, 0); // not supported
             put(HoodieLogBlockType.HFILE_DATA_BLOCK, 0); // not supported
-            put(HoodieLogBlockType.PARQUET_DATA_BLOCK, 
HoodieAvroUtils.gteqAvro1_9() ? 2593 : 2605);
+            put(HoodieLogBlockType.PARQUET_DATA_BLOCK, 
HoodieAvroUtils.gteqAvro1_9() ? 1802 : 1809);

Review Comment:
   Hi @alexeykudinkin, I found that 
testDataBlockFormatAppendAndReadWithProjectedSchema will fail when we set 
${avro.version} = 1.8.2 . The expectedReadBytes expected is 1809 but real read 
bytes is  1802. Is ${avro.version} must be greater than 1.9? Thank you very 
much if I can receive your reply.



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