twuebi opened a new pull request, #1176:
URL: https://github.com/apache/iceberg-go/pull/1176

   `DayTransform.ResultType` returned `Int32`, diverging from Java, Rust, and 
PyIceberg, which all return `date`. The physical value stays `int32` days, the 
date type adds the `date` Avro logicalType to the partition field, so day 
partitions round-trip with the same logical type Spark writes.
   
   Without it, compacting a days partitioned table whose mainfest was written 
by spark failed on commit:
   
   ```
   avro: field data_file.partition.ts_day: cannot use time.Time with Avro type 
intavro: field data_file.partition.ts_day: cannot use time.Time with Avro type 
int (*fmt.wrapError)
   ```


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

Reply via email to