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

   ## Summary
   
   - add `timestamp_ns` and `timestamptz_ns` support to 
`YearTransform.Transformer` and `MonthTransform.Transformer`
   - make `YearTransform.Apply` and `MonthTransform.Apply` handle 
`TimestampNsLiteral`
   - add regression coverage for Apply and Transformer paths
   
   ## Why
   
   `YearTransform` and `MonthTransform` already report that they can transform 
nanosecond timestamp types through `canTransformTime`, but their implementation 
only handled date and microsecond timestamp values. That meant accepted 
partition transforms could produce invalid/null transform results for 
timestamp-ns inputs.
   
   ## Testing
   
   - `go test . -run 
'TestYearMonthTransformNanoseconds|TestCanTransform|TestManifestPartitionVals' 
-count=1`\n- `go test ./... -count=1`\n- `git diff --check`\n


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