stiga-huang commented on code in PR #14380:
URL: https://github.com/apache/arrow/pull/14380#discussion_r993372376
##########
cpp/src/arrow/json/converter_test.cc:
##########
@@ -190,9 +190,12 @@ TEST(ConverterTest, Decimal128And256) {
options.explicit_schema = schema({field("", decimal_type)});
std::string json_source = R"(
- {"" : "02.0000000000"}
- {"" : "30.0000000000"}
- )";
+ {"" : "02.0000000000"}
+ {"" : "30.0000000000"}
+ {"" : "30.01"}
+ {"" : "30.0000000000123"}
Review Comment:
Yeah, I think users would like different behaviors. E.g. in Impala, we'd
like Arrow to continue reading the remaining rows instead of throwing an error
and stop.
I think we can add an option to choose the behavior.
--
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]