tustvold commented on code in PR #5101:
URL: https://github.com/apache/arrow-rs/pull/5101#discussion_r1399034289
##########
arrow-json/src/reader/mod.rs:
##########
@@ -2259,4 +2261,38 @@ mod tests {
.values();
assert_eq!(values, &[1699148028689, 2, 3, 4]);
}
+
+ #[test]
+ fn test_coercing_primitive_into_string_decoder() {
+ let buf = r#"[
+ {"a": 1, "b": "A", "c": "T"},
+ {"a": 2, "b": "BB", "c": "F"},
+ {"a": 3, "b": 123, "c": false}
+ ]"#;
Review Comment:
Perhaps we could test with some numbers that are larger than i32::MAX, i.e.
require i64
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]