pitrou commented on code in PR #14242:
URL: https://github.com/apache/arrow/pull/14242#discussion_r981223047


##########
cpp/src/arrow/json/options.h:
##########
@@ -53,6 +53,9 @@ struct ARROW_EXPORT ParseOptions {
   /// How JSON fields outside of explicit_schema (if given) are treated
   UnexpectedFieldBehavior unexpected_field_behavior = 
UnexpectedFieldBehavior::InferType;
 
+  /// Whether decimals are represented as strings(quoted) or numbers(unquoted)
+  bool parse_decimal_as_number = false;

Review Comment:
   I'm wondering: instead of making this an option, would it be more expensive 
to support both automatically?



-- 
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]

Reply via email to