apache / apache/iceberg-python

[feature request] Support Time64Type[ns]

Đang mở
#1,169 9 bình luận 0 reaction 1 người được giao Được @zaryab-ali nhận Xem trên GitHub
good first issue
Ngôn ngữ chính
Python
Star
1.1k
Fork
581
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
78

Mô tả

### 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)`.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.