From b4544d858682b1d6f67c61c945eac6347257fb77 Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Thu, 23 Jul 2026 22:18:10 +0900 Subject: [PATCH 1/2] chore: fix failing miri test --- arrow-schema/src/datatype_parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-schema/src/datatype_parse.rs b/arrow-schema/src/datatype_parse.rs index abb7058a329e..951742e45117 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 ( From 9d7f9452197558a0235048b4fa0af0f6f8ed841d Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Thu, 23 Jul 2026 22:50:52 +0900 Subject: [PATCH 2/2] fix more tests --- arrow-schema/src/datatype_parse.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arrow-schema/src/datatype_parse.rs b/arrow-schema/src/datatype_parse.rs index 951742e45117..dd9be4514bcf 100644 --- a/arrow-schema/src/datatype_parse.rs +++ b/arrow-schema/src/datatype_parse.rs @@ -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 ':'"),