c-thiel opened a new pull request, #2832:
URL: https://github.com/apache/iceberg-rust/pull/2832

   ## Which issue does this PR close?
   We don't have an issue for this. Deserializing Timestamp NS default values 
failed.
   
   ## What changes are included in this PR?
   
   `try_into_json` serialized TimestampNs/TimestamptzNs but `try_from_json` had 
no matching arms, so a nanosecond-timestamp single value (e.g. a column 
default) failed to deserialize (fell to the DataInvalid catch-all). Add the 
read arms
   mirroring the microsecond ones, plus `datetime_to_nanoseconds` / 
`datetimetz_to_nanoseconds` helpers. Also adds json_timestamp_ns / 
json_timestamptz_ns tests.
   
   ## Are these changes tested?
   
   Yes


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