-
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++] Support for union type in ORC writer #34262
Comments
Could you share a script that reproduces this case? There is no plan of this. We need a volunteer for this. It seems that there is arrow/cpp/src/arrow/adapters/orc/util.cc Line 905 in f2d632e
|
Here is the script:
And this the output I get:
|
Thanks. @wgtmac Do you want to take a look at this as a Apache ORC PMC member? |
Thanks! |
take |
### Rationale for this change The ORC adapter does not support union type yet. ### What changes are included in this PR? Support union type to both ORC reader and writer. ### Are these changes tested? To be added. ### Are there any user-facing changes? No. * Closes: #34262 Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
@hinxx This is fixed and you can try it out from the latest main branch. Let me know if there is any feedback. Thanks! |
@wgtmac I get no errors on
Great job! Thank you for such a quick resolution of this issue. |
Thanks for your confirmation! Good to know it works. |
Describe the enhancement requested
I've built an union manually with
pa.UnionArray.from_dense()
, not using inference,In python I'm trying to write that union to an ORC file and I'm getting the following error:
It seems that this in not supported even in C++ code that, IMO, python uses:
arrow/cpp/src/arrow/adapters/orc/util.cc
Line 920 in f2d632e
Any plans on adding this feature to arrow?
Component(s)
C++, Python
The text was updated successfully, but these errors were encountered: