Skip to content

Parquet: Extract nested/variant type check in ParquetMetricsRowGroupFilter - #17377

Open
uros-b wants to merge 2 commits into
apache:mainfrom
uros-b:parquet-extract-nested-variant-type-check
Open

Parquet: Extract nested/variant type check in ParquetMetricsRowGroupFilter#17377
uros-b wants to merge 2 commits into
apache:mainfrom
uros-b:parquet-extract-nested-variant-type-check

Conversation

@uros-b

@uros-b uros-b commented Jul 26, 2026

Copy link
Copy Markdown
Member

The same nested-or-variant type check was duplicated verbatim across notNull(), eq(), and in() in ParquetMetricsRowGroupFilter. This extracts it into a private isNestedOrVariantType(int id) helper (placed alongside the existing min/max helpers) to remove the duplication. Behavior-preserving; the three call sites were byte-identical.

Co-authored-by: Isaac

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failure doesn't look related to these code changes

@uros-b

uros-b commented Jul 26, 2026

Copy link
Copy Markdown
Member Author

@huaxingao please review Parquet changes

@uros-b

uros-b commented Jul 27, 2026

Copy link
Copy Markdown
Member Author

CI failure doesn't look related to these code changes

Issue fixed in #17382, merging latest main

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants