nsivabalan commented on issue #16902: URL: https://github.com/apache/hudi/issues/16902#issuecomment-4800676124
This appears to be fixed on master. PR #14161 (commit `cab988cc67e7`, merged 2025-11-11) introduced `AvroSchemaRepair.repairLogicalTypes` to detect and repair `timestamp-millis` vs `timestamp-micros` logical-type mismatches between log file writer schema and table reader schema. It was later refactored into `HoodieSchemaRepair.repairLogicalTypes` (commit `eafe069c8da9`, PR #17952). The repair is invoked from `HoodieAvroDataBlock.RecordIterator` and is enabled by default (`HoodieReaderContext.enableLogicalTimestampFieldRepair = true`). PR #13288 remains open as an alternate/complementary fix, but the log-file read path on master should no longer mis-decode `timestamp-millis` as micros. Could you confirm the issue still reproduces on a recent master build, and close this if not? -- 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]
