Skip to content

Gate the UTF-8 boundary helper on the Arrow feature - #12441

Merged
Jefffrey merged 1 commit into
apache:mainfrom
benjibunbun:parquet-utf8-feature-gate
Nov 24, 2026
Merged

Jefffrey merged 1 commit into
apache:mainfrom
benjibunbun:parquet-utf8-feature-gate

Conversation

@benjibunbun

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Follow-up to #11144. No issue to close.

Rationale for this change

When arrow is disabled Parquet still compiles check_utf8_value_start even though all its callers are in the Arrow reader. This leaves an unused function and fails checks that deny warnings.

What changes are included in this PR?

Gate the helper on the same arrow feature as its callers.

Are these changes tested?

This is a compile-time change covered by feature checks with and without arrow. The existing invalid-UTF8 reader tests also pass with all features enabled.

Are there any significant user-facing changes?

No breaking API changes.

AI usage disclosure

Codex assisted in the implementation by generating the feature gate. It also helped investigate and verify the fix and contributed to the review and this PR description.

@boring-cyborg boring-cyborg Bot added the parquet parquet crate label Nov 24, 2026
@Jefffrey Jefffrey added the development-process Internal changes; PRs with this label are excluded from changelog label Nov 24, 2026

@Jefffrey Jefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks

@Jefffrey
Jefffrey added this pull request to the merge queue Nov 24, 2026
@Jefffrey
Jefffrey removed this pull request from the merge queue due to a manual request Nov 24, 2026
@Jefffrey
Jefffrey added this pull request to the merge queue Nov 24, 2026
Merged via the queue into apache:main with commit 6ff1fac Nov 24, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Internal changes; PRs with this label are excluded from changelog parquet parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants