apache / apache/iceberg-python
[feature request] Support Time64Type[ns]
Open
good first issue
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 581
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 78
Description
### Feature Request / Improvement
Currently `Time64Type[ns]` (`Time64Type` with nanosecond precision) is not supported. Only `Time64Type[ms]` (`Time64Type` with microsecond precision) is supported.
https://github.com/apache/iceberg-python/blob/d8d509ff1bc33040b9f6c90c28ee47ac7437945d/pyiceberg/io/pyarrow.py#L1071-L1072
Also add the ability to downcast, similar to the `pa.types.is_timestamp(primitive):` branch.
Interestingly `Time64Type[ns]` is `False` when evaluating `pa.types.is_timestamp(primitive)`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.