apache / apache/iceberg-python

[feature request] Support Time64Type[ns]

未关闭
#1,169 9 条评论 0 个 reaction 已指派 1 人 已被 @zaryab-ali 认领 在 GitHub 查看
good first issue
主要语言
Python
星标
1.1k
派生
581
平均合并
1 天 17 小时
30 天内合并 PR
78

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。