Repository navigation
Open
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Successor to #6736 (initial implementation) and #8480 (finalization). Most of the work tracked there is done, so this epic tracks only what gates renaming variant_experimental to variant (#8297). Non-blocking follow-on work is tracked separately in #10547.
Bugs and spec conformance
- Add
proptestfuzzing to parquet-variant and implement fixes for findings #10352 (fixes 6 fuzzing findings, the two below are its follow-ups) - parquet-variant-compute: shred_variant panics on an object with duplicate field names #10359
- parquet-variant: PartialEq on unvalidated deeply-nested variants overflows the stack (SIGABRT) #10360
- [Variant]
variant_getreturns Variant null instead of SQL NULL for out-of-bounds access on shredded lists #11050 — preserve SQL NULL for out-of-bounds shredded list access (PR: fix(variant): preserve nulls for missing shredded list indexes #11052) - Fix the shred logic in parquet-variant #10145
- [Variant] Unshredded
VariantArrayproducers annotate thevaluefield as nullable (spec requiresrequired) #10315 (merged PR: [Variant] UnshreddedVariantArrayproducers annotate thevaluefield as nullable (spec requiresrequired) #10320) - [Variant]
variant_getreturns Variant null instead of SQL NULL for missing shredded object fields #11191 — preserve SQL NULL for missing shredded object fields (PR: fix(variant): preserve SQL NULL for missing shredded object fields #11504) - [Variant] Validate storage fields in
VariantType#11938 — validate the required storage fields inVariantType - [Variant] Reconcile FixedSizeList support across shredded Variant APIs #10616 — reconcile FixedSizeList support across shredded APIs
- [Variant] Document and test validation of malformed shredded object fields #10619 — document and test malformed shredded object-field validation
- [Variant] Add nested object and array interoperability tests #10617 — add nested object and array interoperability tests
- Add new parquet tests based on updated variant/json files #10785 — exercise malformed Variant fixtures
Cast semantics
- [Variant] Align cast logic for
variant_getto cast kernel #8982 - [Variant]
variant_to_arrowunion builder does not preservevariant_getconversion semantics #10905 — preserve conversion semantics when selecting union children (partial fix: Fix signed integer selection for variant unions #11286) - [Variant] Casting shredded input to structs bypasses parent null and type checks #11301 — preserve parent null and type checks when casting shredded input to structs (PR: fix(variant): preserve struct cast null and error semantics #11617)
- variant_get converts integers to decimals without consistently checking target precision #11309 — check target precision consistently for integer-to-decimal extraction
- fix: move float-to-decimal precision validation inside the cast kernel #11302 — share checked float-to-decimal conversion between Arrow and Variant
Arrow-to-Variant conversion
- [Variant] Safe cast_to_variant failures produce Variant null instead of Arrow null #11939 — return Arrow null for safe-cast failures
- [Variant] cast_to_variant serializes nested Variant storage as ordinary objects #11942 — honor nested Variant extension fields instead of serializing their storage
- [Variant] cast_to_variant accepts unsupported types for empty and all-null arrays #11946 — reject unsupported source types consistently for empty and all-null input
- [Variant] cast_to_variant silently drops null struct fields and map entries #11947 — preserve present-null struct fields and map entries
- [Variant] Strict cast_to_variant silently overwrites duplicate object keys #11948 — reject duplicate object keys in strict casts
Feature completeness and API finalization
- [Variant] variant_to_arrow types support #8477 (union support still open)
- [Variant] Improve ergonomic for creating VariantArray #8628
- Define VariantPath's grammar and compatibility target #11627 — define VariantPath's grammar and compatibility target
- [Variant] Support unescaped closing brackets inside quoted VariantPath fields #11228 — support closing brackets inside quoted path fields
The finale
Reacted by Danny C Jones
Metadata
Metadata
Assignees
Labels
No labels
Activity
fix(parquet-variant-compute): reject unsupported types in empty and a…