Skip to content

Filter pushdown child remapping is unsafe for duplicate-name schemas #21168

@mithuncy

Description

@mithuncy

Summary

DataFusion's child-filter remapping helpers appear to remap pushed-down columns by column name via child_schema.index_of(col.name()).

That is unsafe for schemas with duplicate field names, because a filter on the second id column can be silently rebound to the first one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions