You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "rok (via GitHub)" <gi...@apache.org> on 2024/08/27 19:30:43 UTC
[I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
rok opened a new issue, #43855:
URL: https://github.com/apache/arrow/issues/43855
### Describe the enhancement requested
As per https://github.com/apache/arrow/pull/37298#issuecomment-2313190553 on [GH-15058: [C++][Python] Native support for UUID](https://github.com/apache/arrow/pull/37298#top):
> As another possible follow-up, would we want to support inferring and converting uuid.UUID objects in the python->arrow conversion layer? (although not sure if that's something people would be waiting for)
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2378235762
Of course, I think it can wait.
I took a shot at this today and (1) think what I came up with might be overcomplicated though I basically copied what had been done for pandas and (2) got a bit lost at the conversion step. With the code I've got, I hit this code path in the converter:
https://github.com/apache/arrow/blob/f43e92d1c6ea0802d5136fc20f6e4b5566f8735c/cpp/src/arrow/util/converter.h#L251
It seems like I might be going about it wrong or that we just need to implement that, hopefully generic to the underlying storage type. I do think what I have is close to working though, even if there's a simpler approach.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "rok (via GitHub)" <gi...@apache.org>.
rok closed issue #43855: [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer
URL: https://github.com/apache/arrow/issues/43855
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2375509924
Hey @rok, given the prevalence of the `uuid` package in Python data science, I think having a seamless conversion would be useful to a pretty broad audience. I ended up on this issue while diagnosing https://github.com/apache/arrow/issues/44224 and I see this issue already has a few thumbs up reactions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "rok (via GitHub)" <gi...@apache.org>.
rok commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2378895561
Thanks for opening a PR! I'll try to help out there!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "rok (via GitHub)" <gi...@apache.org>.
rok commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-3993129961
Issue resolved by pull request 48727
https://github.com/apache/arrow/pull/48727
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "torchss (via GitHub)" <gi...@apache.org>.
torchss commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2951703786
It's fantastic to see work on this being started - what's necessary to merge it in?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2956266351
Hi @torchss, we probably need someone to pick the work up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Infer and convert uuid.UUID objects in the python->arrow conversion layer [arrow]
Posted by "rok (via GitHub)" <gi...@apache.org>.
rok commented on issue #43855:
URL: https://github.com/apache/arrow/issues/43855#issuecomment-2376419887
Oh hey @amoeba ! :)
Yeah, I agree and I'd love to contribute a fix for this. I'm just not sure if I can make this release or the next one :).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org