fallintoplace opened a new pull request, #1112: URL: https://github.com/apache/iceberg-go/pull/1112
## Summary - convert Arrow timestamp partition values according to their Arrow unit before applying Iceberg partition transforms - use the table source type to choose microsecond vs nanosecond Iceberg timestamp literals - add partition fanout regression coverage for timestamp seconds, milliseconds, microseconds, and nanoseconds ## Why Partitioned writes compute partition keys before `ToRequestedSchema` normalizes Arrow timestamp arrays to the table schema. The old partition path cast raw Arrow timestamp values directly to Iceberg microsecond timestamps, so `timestamp[s]` and `timestamp[ms]` inputs could be routed to the wrong day/hour partition even though the data values were later written with normalized units. Fixes #1111. ## Testing - `go test ./table -run TestFanoutWriter -count=1` - `git diff --check` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
