Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions arrow-schema/src/datatype_parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
(
Expand All @@ -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 ':'"),
Expand Down
Loading