Skip to content

[C++] Rename "struct_field" kernel, or add new kernel for generic FieldRef selection in projections? #14971

@jorisvandenbossche

Description

@jorisvandenbossche

We have a "struct_field" kernel that was added to perform a FieldRef selection in compute / projection context (#11641).
Although it is called "struct_..", it can actually already handle a union type as well. And #14697 is expanding it further to also allow a FieldRef to select a list element.

So if the current "struct_field" kernel is evolving in a kernel to perform any kind if Field Reference lookup, should we rename it to something more generic like "select_field"?
(or add a separate kernel that does that, and keep "struct_field" specific to structs?)

cc @lidavidm @westonpace

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