danny0405 commented on code in PR #14120:
URL: https://github.com/apache/hudi/pull/14120#discussion_r2443758309


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieAvroDataBlock.java:
##########
@@ -226,7 +229,7 @@ public IndexedRecord next() {
         this.dis.skipBytes(recordLength);
         this.readRecords++;
         if (this.promotedSchema.isPresent()) {
-          return HoodieAvroUtils.rewriteRecordWithNewSchema(record, 
this.promotedSchema.get());
+          return HoodieAvroUtils.rewriteRecordWithNewSchema(record, 
this.promotedSchema.get(), skipLogicalTimestampEvolution);

Review Comment:
   I thought we only got problems for Parquets, so avro logs also got mismatch 
precision for timestamp type and it's values? the avro schema in the log block 
head comes from the table schema which should be correct right?



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