Re: [I] Add support for pyarrow DurationType [iceberg-python]

2025-04-21 Thread via GitHub
jayceslesar commented on issue #1900: URL: https://github.com/apache/iceberg-python/issues/1900#issuecomment-2819085145 This was just formally proposed to the dev mailing list via https://docs.google.com/document/d/12ghQxWxyAhSQeZyy0IWiwJ02gTqFOgfYm8x851HZFLk/edit?tab=t.0#heading=h.rt0cvesd

Re: [I] Add support for pyarrow DurationType [iceberg-python]

2025-04-15 Thread via GitHub
0x26res commented on issue #1900: URL: https://github.com/apache/iceberg-python/issues/1900#issuecomment-2807570132 I guess in python a `datetime.timedelta` (aka duration) is like a `datetime.time`, except a timedelta value can be negative and be greater than a day. In pyarrow, the

Re: [I] Add support for pyarrow DurationType [iceberg-python]

2025-04-15 Thread via GitHub
Fokko commented on issue #1900: URL: https://github.com/apache/iceberg-python/issues/1900#issuecomment-2807207251 @0x26res Thanks for raising this issue. From what I understand, a `duration` is different from a `time`. Could you elaborate how this would map onto `time`? -- This is an aut

[I] Add support for pyarrow DurationType [iceberg-python]

2025-04-09 Thread via GitHub
0x26res opened a new issue, #1900: URL: https://github.com/apache/iceberg-python/issues/1900 ### Feature Request / Improvement Currently a pa.Schema with a pa.DurationType can't be converted to an iceberg schema. I think it should be treated the same way as a `pa.Time64Type` an