From b373c23b432a744c0f20b12d769c9274c42f8f3c Mon Sep 17 00:00:00 2001 From: bit2swaz Date: Sat, 25 Jul 2026 00:34:13 +0530 Subject: [PATCH] fix(arrow-schema): stop asserting on unstable TryFromIntError message in tests --- arrow-schema/src/datatype_parse.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arrow-schema/src/datatype_parse.rs b/arrow-schema/src/datatype_parse.rs index abb7058a329e..cc4dbf44ad66 100644 --- a/arrow-schema/src/datatype_parse.rs +++ b/arrow-schema/src/datatype_parse.rs @@ -1489,7 +1489,7 @@ mod test { // too large for i32 ( "FixedSizeBinary(4000000000), ", - "Error converting 4000000000 into i32 for FixedSizeBinary: out of range integral type conversion attempted", + "Error converting 4000000000 into i32 for FixedSizeBinary:", ), // can't have negative width ( @@ -1503,35 +1503,35 @@ mod test { // can't have negative precision ( "Decimal32(-3, 5)", - "Error converting -3 into u8 for Decimal32: out of range integral type conversion attempted", + "Error converting -3 into u8 for Decimal32:", ), ( "Decimal64(-3, 5)", - "Error converting -3 into u8 for Decimal64: out of range integral type conversion attempted", + "Error converting -3 into u8 for Decimal64:", ), ( "Decimal128(-3, 5)", - "Error converting -3 into u8 for Decimal128: out of range integral type conversion attempted", + "Error converting -3 into u8 for Decimal128:", ), ( "Decimal256(-3, 5)", - "Error converting -3 into u8 for Decimal256: out of range integral type conversion attempted", + "Error converting -3 into u8 for Decimal256:", ), ( "Decimal32(3, 500)", - "Error converting 500 into i8 for Decimal32: out of range integral type conversion attempted", + "Error converting 500 into i8 for Decimal32:", ), ( "Decimal64(3, 500)", - "Error converting 500 into i8 for Decimal64: out of range integral type conversion attempted", + "Error converting 500 into i8 for Decimal64:", ), ( "Decimal128(3, 500)", - "Error converting 500 into i8 for Decimal128: out of range integral type conversion attempted", + "Error converting 500 into i8 for Decimal128:", ), ( "Decimal256(3, 500)", - "Error converting 500 into i8 for Decimal256: out of range integral type conversion attempted", + "Error converting 500 into i8 for Decimal256:", ), ("Struct(f1 Int64)", "Error unknown token: f1"), ("Struct(\"f1\" Int64)", "Expected ':'"),