Skip to content

[C++] Expand test coverage for FieldPath and FieldRef Get/Find methods #34830

Closed as not planned

Description

@benibus

Describe the enhancement requested

The FieldRef::Find* and FieldPath::Get functions provide many different overloads, however, many of these paths don't appear to be covered in arrow-type-test.

This is more of a concern for FieldPath::Get, which extracts child fields from arrays, chunked arrays, record batches, tables, etc. The underlying implementations aren't exactly trivial - nor are they equivalent. In addition, there's an (unwritten?) expectation that these functions are zero-copy so perhaps this should be tested explicitly.

In both cases, we could utilize test fixtures to do this in a uniform way.

Component(s)

C++

Activity

  1. added
    Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwise
    on Feb 18, 2026
  2. thisisnic commented on Feb 18, 2026

    @thisisnic
    Member

    This issue has been marked as stale because it has had no activity in the past 2 years. Please remove the stale label or comment below, or this issue will be closed in 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions