nsivabalan commented on issue #14445: URL: https://github.com/apache/hudi/issues/14445#issuecomment-4795161169
This appears to be fixed on current `master`. `TimestampBasedAvroKeyGenerator.getPartitionPath(Object)` now has an explicit `instanceof LocalDate` branch that converts via `toEpochDay()` ([TimestampBasedAvroKeyGenerator.java:189-191](https://github.com/apache/hudi/blob/master/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/keygen/TimestampBasedAvroKeyGenerator.java#L189-L191)). The Spark `TimestampBasedKeyGenerator` delegates partition-path formatting to this Avro variant, so the original Spark write path no longer throws `HoodieNotSupportedException` / `Unable to parse input partition field` for `java.time.LocalDate` values. The support was added by commit `e1ccf2e00b1a` under HUDI-3977 (PR #5432). If you can still reproduce on a recent release (>= 0.12.0), please share the exact configuration and a minimal repro and we can reopen. Otherwise, this issue can likely be closed. -- 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]
