-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust API: UUID support in pola.rs Series #7175
Comments
This would be great. And in the meantime, I'd love to know how we can support this ourselves. Which Polars type should we translate the
|
On a similar note, it seems that Apache supports a UUID type in parquet. Would Polaris be able to read a parquet file with a column of that data type ? Seems like Polars would need a u128 |
After further reading, I believe there might be some issues with using It appears that the feature supporting this is Regardless, I hope that we'll get UUID support in the future. It's crucial for our use case, particularly for |
+1! We're also running into issues with this. We're ending up with massive files due to us having to cast UUIDs to UTF8. The fixed size binary seems like a nice workaround, but given the UUID is a builtin type in python, it would be nice to be able to preserve the functionality attached to that type. |
Would be great to have this feature in |
UUID type is a subset of the larger Extension Type request which has been requested before #9112 I'm a big proponent of Extension Type support. |
Yes please! |
Problem description
I was trying to create a pola.rs DataFrame with a column of UUIDs from the uuid crate.
Something like this:
Gives the error: the trait bound
polars::prelude::Series: polars::prelude::NamedFrom<Vec<uuid::Uuid>, _>
is not satisfiedExplanation: the trait
polars::prelude::NamedFrom<Vec<uuid::Uuid>, _>
is not implemented forpolars::prelude::Series
The text was updated successfully, but these errors were encountered: