From 964ec1c3336bf5d8598c451975ec6df094685109 Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Wed, 2 Sep 2026 11:35:12 +0900 Subject: [PATCH] Remove `force_validate` feature from `arrow-cast` --- arrow-cast/Cargo.toml | 1 - arrow-cast/src/cast/mod.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/arrow-cast/Cargo.toml b/arrow-cast/Cargo.toml index ad66ffc3c3f1..5e8432949f3e 100644 --- a/arrow-cast/Cargo.toml +++ b/arrow-cast/Cargo.toml @@ -37,7 +37,6 @@ all-features = true [features] prettyprint = ["comfy-table"] -force_validate = [] [dependencies] arrow-array = { workspace = true } diff --git a/arrow-cast/src/cast/mod.rs b/arrow-cast/src/cast/mod.rs index a63d7585ed62..89c133dcb673 100644 --- a/arrow-cast/src/cast/mod.rs +++ b/arrow-cast/src/cast/mod.rs @@ -3027,7 +3027,6 @@ mod tests { } #[test] - #[cfg(not(feature = "force_validate"))] #[should_panic( expected = "Cannot cast to Decimal128(20, 3). Overflowing on 57896044618658097711785492504343953926634992332820282019728792003956564819967" )] @@ -3064,7 +3063,6 @@ mod tests { } #[test] - #[cfg(not(feature = "force_validate"))] fn test_cast_decimal_to_decimal_round() { let array = vec![ Some(1123454),