Expand description
Module for unshredding VariantArray by folding typed_value columns back into the value column.
Macrosยง
- handle_
unshredded_ ๐case - Macro that handles the unshredded case (typed_value is missing or NULL) and returns early if handled. If not handled (shredded case), validates and returns the extracted value.
- impl_
append_ ๐to_ variant_ builder
Structsยง
- List
Unshred ๐Variant Builder - Builder for unshredding list/array types with recursive element processing
- Null
Unshred ๐Variant Builder - Builder for arrays with neither typed_value nor value (all NULL/Variant::Null)
- Struct
Unshred ๐Variant Builder - Builder for unshredding struct/object types with nested fields
- Timestamp
Unshred ๐RowBuilder - Generic builder for timestamp types that handles timezone-aware conversion
- Unshred
Primitive ๐RowBuilder - Generic unshred builder that works with any Array implementing AppendToVariantBuilder
- Value
Only ๐Unshred Variant Builder - Builder for arrays that only have value column (already unshredded)
Enumsยง
- Unshred
Variant ๐RowBuilder - Row builder for converting shredded VariantArray rows back to unshredded form
Traitsยง
- Append
ToVariant ๐Builder - Extension trait that directly adds row builder support for arrays that correspond to primitive variant types.
- Timestamp
Type ๐ - Trait for timestamp types to handle conversion to
DateTime<Utc>
Functionsยง
- unshred_
variant - Removes all (nested) typed_value columns from a VariantArray by converting them back to binary variant and merging the resulting values back into the value column.