← Open Source & Engineering Work
Apache Software Foundation · apache/arrow-rsMerged · Apache Arrow Core (PR #11657)

Fix Fields::filter_leaves for ListView and LargeListView (#11657)

Sole Author: Patrick Ribbsaeter (@patrickswedish) · Immutable Commit SHA: a8306d68e57527a6b929a15cf046bd8550e995ea

Core columnar Arrow schema traversal fix extending Fields::filter_leaves recursion to descend into ListView and LargeListView container types during nested leaf projection.

Fix Fields::filter_leaves for ListView and LargeListView (#11657)

PR #11657

Merged Mainline

a8306d6

Immutable Git SHA

Rust

Systems

48/48 CI Green

CI & Test Matrix

01 · Engineering problem

The failure mode

Fields::filter_leaves in arrow-schema omitted recursive traversal arms for DataType::ListView and DataType::LargeListView, causing leaf projection indices to desynchronize on nested ListView schemas.

02 · Technical response

What changed

  1. 01Extended Fields::filter_leaves recursive traversal in arrow-schema to descend into ListView and LargeListView child fields.
  2. 02Added unit regression coverage verifying leaf projection parity across List, LargeList, ListView, and LargeListView.

03 · Verified outcome

Evidence-backed result

  • ✓Restored nested schema leaf filtering parity for Arrow ListView and LargeListView types.
  • ✓Passed 39/39 CI checks and merged upstream into apache/arrow-rs as commit a8306d68e57527a6b929a15cf046bd8550e995ea.

04 · Cryptographic Git record

Immutable source evidence

RustApache ArrowColumnar MemorySchema ProjectionData Engineering

Independent open-source engineering authored solely by Patrick Ribbsaeter (@patrickswedish). Company and project names identify the public repository context only under nominative fair use. No employment, client, vendor, or partnership relationship is implied unless explicitly stated.