apache / apache/iceberg-python

[feature request] Support Time64Type[ns]

Offen
#1,169 9 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @zaryab-ali Auf GitHub ansehen
good first issue
Vorherrschende Sprache
Python
Sterne
1.1k
Forks
581
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
78

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.