From 78b24ba6ec3e9fafc3bc9aef6fe5916f8e2b568e Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 22 Jul 2025 18:05:53 -0400 Subject: [PATCH] Minor: Restore warning comment on Int96 statistics read --- parquet/src/file/statistics.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/parquet/src/file/statistics.rs b/parquet/src/file/statistics.rs index d0105461f1c0..02729a5016bb 100644 --- a/parquet/src/file/statistics.rs +++ b/parquet/src/file/statistics.rs @@ -209,6 +209,7 @@ pub fn from_thrift( old_format, ), Type::INT96 => { + // INT96 statistics may not be correct, because comparison is signed let min = if let Some(data) = min { assert_eq!(data.len(), 12); Some(Int96::try_from_le_slice(&data)?)