-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[C++] Zero-case union can't be imported via C Data Interface #14855
Comments
lidavidm
added a commit
to lidavidm/arrow
that referenced
this issue
Dec 6, 2022
lidavidm
added a commit
to lidavidm/arrow
that referenced
this issue
Dec 6, 2022
lidavidm
added a commit
to lidavidm/arrow
that referenced
this issue
Dec 6, 2022
For my own education, is there a practical use for a zero-case union? |
I can't think of one off the top of my head, this is more about just making sure everything roundtrips properly. |
I think the only way it could be even be valid is if it was length zero? |
lidavidm
added a commit
to lidavidm/arrow
that referenced
this issue
Dec 12, 2022
pitrou
pushed a commit
that referenced
this issue
Dec 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The zero-case union is apparently not supported by Arrow C++'s C Data interface. I get:
Reproducer for Python:
Originally posted by @paleolimbot in apache/arrow-nanoarrow#81 (comment)
Component(s)
C++
The text was updated successfully, but these errors were encountered: