You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_variant_field_zc: Return BinaryViewArray so we can re-use the original buffer. This is can be used when the user will immediately use a cast method to extract data.
get_variant_field: Return BinaryArray so we can drop the original buffer and keep the narrowed values. This can be used when the original variant data is no longer needed but we will be passing the variant selection to another step.
In DataFusion, we can add an optimization rule to decide which of these to use.
The text was updated successfully, but these errors were encountered:
Should likely offer two variants:
get_variant_field_zc
: ReturnBinaryViewArray
so we can re-use the original buffer. This is can be used when the user will immediately use a cast method to extract data.get_variant_field
: ReturnBinaryArray
so we can drop the original buffer and keep the narrowed values. This can be used when the original variant data is no longer needed but we will be passing the variant selection to another step.In DataFusion, we can add an optimization rule to decide which of these to use.
The text was updated successfully, but these errors were encountered: