rambleraptor opened a new pull request, #3298:
URL: https://github.com/apache/iceberg-python/pull/3298
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Ran into this with the type promotion rabbit hole I've found myself in.
Turns out we don't have literal types for `timestamp_ns`. This is definitely
a missing part of being able to use timestamp_ns types.
My goal here was to match the microsecond usage as much as possible.
(There's some weirdness for converting these to strings, since Python's
string format doesn't actually handle nano-seconds for us. What fun!)
## Are these changes tested?
Added some tests.
## Are there any user-facing changes?
- Adds literals for timestamp_ns
<!-- In the case of user-facing changes, please add the changelog label. -->
--
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]