Skip to content
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

Support try_from_array and eq_array for ScalarValue::Union #12208

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

joroKr21
Copy link
Contributor

Which issue does this PR close?

Part of #2326

Rationale for this change

Extending support for union types to primitive operations.

What changes are included in this PR?

Added support for DataType::Union to ScalarValue::try_from_array and ScalarValue::eq_array.

Are these changes tested?

Added unit tests (we don't have slt tests yet, see #10161)

Are there any user-facing changes?

Not directly, but more functions will work on union types.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me -- than you @joroKr21

@alamb
Copy link
Contributor

alamb commented Sep 5, 2024

🚀

@alamb alamb merged commit d6f3f73 into apache:main Sep 5, 2024
24 checks passed
@joroKr21 joroKr21 deleted the scalar-union branch September 5, 2024 11:55
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants