Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Debug printing arrays with lengths greater than 10 and less than 20 may duplicate some values in the output.
Example: Array with 10 elements
This example demonstrates printing with the correct output.
println!("{:?}", Int32Array::from(vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9]));
Output:
PrimitiveArray<Int32> [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ]
Example: Array with 11 elements
This example demonstrates printing with an unexpected output.
println!("{:?}", Int32Array::from(vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]));
Actual Output:
PrimitiveArray<Int32> [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ]
Expected Output:
PrimitiveArray<Int32> [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ]
Attachments
Issue Links
- links to