Skip to content

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
@joroKr21 joroKr21 deleted the scalar-union branch September 5, 2024 11:55
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