From 19843802d6f37da6f54e6b61c668af5ebacb601a Mon Sep 17 00:00:00 2001 From: benjibunbun <226082140+benjibunbun@users.noreply.github.com> Date: Tue, 24 Nov 2026 15:54:15 +1100 Subject: [PATCH] Gate the UTF-8 boundary helper on the Arrow feature Generated-by: Codex --- parquet/src/util/utf8.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/parquet/src/util/utf8.rs b/parquet/src/util/utf8.rs index 9e8526b0d0da..f7e1283b10f3 100644 --- a/parquet/src/util/utf8.rs +++ b/parquet/src/util/utf8.rs @@ -47,6 +47,7 @@ pub fn check_valid_utf8(val: &[u8]) -> Result<()> { /// /// [`check_valid_utf8`] over values stored back to back misses a character /// split across two of them, so each value's start must be checked as well. +#[cfg(feature = "arrow")] #[inline(always)] pub(crate) fn check_utf8_value_start(value: &[u8]) -> Result<()> { match value.first() {