Skip to content

[Parquet] ProjectionMask::columns name handling is bug prone #8443

@mapleFU

Description

@mapleFU

Describe the bug

ProjectionMask::columns in parquet allowing selecting columns, this is created in #6871 . However, this method is bug prone.

To Reproduce

Assume schema:

{
  a: int,
  aa: int
}

Select "a" will also making "aa" selected.

Expected behavior

I think the interface should be deprecated. Outside should pass explicit the require path. Or inner should receive the path.

Parquet allows "a.b" column, so I don't think dot is a good way.

Additional context

No

Metadata

Metadata

Assignees

Labels

bugparquetChanges to the parquet crate

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions