-
Notifications
You must be signed in to change notification settings - Fork 242
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
[FEA] Support union for nested types #1459
Comments
Thanks for the feature request! Did some simple struct tests and adding the nested types to expr checks seems to work and match cpu result. But again, it was a preliminary test.
Could you elaborate what do you mean by this? Which test should exercise this limitation and can we do without it? Thank you. |
In Spark 3.1.0 and above when it sees a union of It is not directly in union that the problem show up, but it is a secondary effect that happens afterwards. |
Update: at this point we support union of structs and union of nested structs. We still need to support union of of lists and maps. |
[auto-merge] bot-auto-merge-branch-23.10 to branch-23.12 [skip ci] [bot]
Is your feature request related to a problem? Please describe.
Union only works for non-nested types right now. It would be nice to support it for nested types as well. This is mostly blocked on scalar support for nested types. When we do get around to implementing it we should be sure to test with SPARK-32376 where a struct can have null columns added to it to make the two sides match. I am not sure if it will require any code changes on our part though.
The text was updated successfully, but these errors were encountered: