kevinjqliu commented on code in PR #423: URL: https://github.com/apache/iceberg-go/pull/423#discussion_r2082114997
########## transforms.go: ########## @@ -720,7 +720,7 @@ func (t DayTransform) MarshalText() ([]byte, error) { func (DayTransform) String() string { return "day" } -func (DayTransform) ResultType(Type) Type { return PrimitiveTypes.Date } +func (DayTransform) ResultType(Type) Type { return PrimitiveTypes.Int32 } Review Comment: https://iceberg.apache.org/spec/#partition-transforms `day` transform result type should be `int` ########## transforms.go: ########## @@ -720,7 +720,7 @@ func (t DayTransform) MarshalText() ([]byte, error) { func (DayTransform) String() string { return "day" } -func (DayTransform) ResultType(Type) Type { return PrimitiveTypes.Date } +func (DayTransform) ResultType(Type) Type { return PrimitiveTypes.Int32 } Review Comment: this was originally `Date` probably because of pyiceberg https://github.com/apache/iceberg-python/blob/c84017dc6fd17da0c077504ba5d8de587563ec9c/pyiceberg/transforms.py#L645-L651 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org