[
https://issues.apache.org/jira/browse/ARROW-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603874#comment-17603874
]
Pranav Yogi Lodha commented on ARROW-4700:
------------------------------------------
Hi, as you said here,"Decimals will be represented in JSON as strings", is
there a way in which we can read unquoted values as decimal in arrow or is that
option not available?
> [C++] Add DecimalType support to arrow::json::TableReader
> ---------------------------------------------------------
>
> Key: ARROW-4700
> URL: https://issues.apache.org/jira/browse/ARROW-4700
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Ben Kietzman
> Assignee: Rommel Quintanilla
> Priority: Minor
> Labels: pull-request-available
> Fix For: 6.0.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> This should be simple to add, since decimals can already be parsed from
> strings. Decimals will be represented in JSON as strings. If a decimal with
> different precision or scale is parsed from the string, should there be any
> acceptable conversions? (for example, if the column is of type {{decimal(5,
> 2)}} should {{"12.3"}} be an error or equivalent to {{"012.30"}}?)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)