Latest Results
fix(python): translate Polars struct field access (#10194)
Translate Polars named struct field access to native Vortex `get_item`,
preserving parent-struct nulls. The struct child is recursively
translated and can be any supported expression.
This is a direct expression translation; it performs no eager evaluation
and does not require literal arguments. Literal-specific PRs decode the
scalar representation itself.
Validation: 1 targeted regression case(s) passed with this PR’s
converter. With only `polars_.py` restored to the base revision and the
same tests retained, all 1 failed with Polars `ComputeError` wrapping
the unsupported-expression `ValueError` or `NotImplementedError`. The
tests compare complete dataframes from Polars alone and a Vortex-backed
Polars scan, and check explicit row expectations. No lint or broader
suite was run.
Five independent parent-nullness tests explicitly construct Arrow arrays
for a null parent, null inner parent, null outer parent, null middle
parent across three levels, and combined parent/leaf nulls. Each
specifies a concrete predicate and complete expected DataFrame, and
confirms physical children retain masked values. The helper accepts an
array, predicate, and expected DataFrame, evaluates the same filter in
stock Polars and Vortex-backed Polars, and asserts both results equal
the expected frame. These rewritten cases and lint have not been run.
Signed-off-by: Daniel King <dan@spiraldb.com> Latest Branches
-20%
-14%
+11%
© 2026 CodSpeed Technology