apache / apache/iceberg-python

[feature request] Support Time64Type[ns]

Aperta
#1,169 9 commenti 0 reazioni 1 assegnatario Rivendicata da @zaryab-ali Vedi su GitHub
good first issue
Lingua principale
Python
Stelle
1.1k
Fork
581
Merge medio
1g 17h
PR unite (30g)
78

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.