datafusion icon indicating copy to clipboard operation
datafusion copied to clipboard

Support try_from_array and eq_array for ScalarValue::Union

Open joroKr21 opened this issue 1 year ago • 0 comments

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.

joroKr21 avatar Aug 28 '24 07:08 joroKr21