[ 
https://issues.apache.org/jira/browse/ARROW-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17039719#comment-17039719
 ] 

Micah Kornfield commented on ARROW-7875:
----------------------------------------

[~lparker] could you provide sample code for what you are doing?  Could you 
also report the results of ResultSetMetadata scale/precision for the Decimal 
column you are trying to convert?

> [Java] Decimal place getting shifted
> ------------------------------------
>
>                 Key: ARROW-7875
>                 URL: https://issues.apache.org/jira/browse/ARROW-7875
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Larry Parker
>            Priority: Major
>         Attachments: test_file.arrow
>
>
> I used {{JdbcToArrow.sqlToArrow()}} to create an Arrow file from a SQL result 
> set, and when I read the Arrow file back in PyArrow, the decimal numbers are 
> very small. On the order of E-10.
> What's interesting is that the values are "correct", except the decimal 
> places are shifted over.
> The Arrow file is enclosed.
> Please let me know if there's a bug around this.
> (using 0.14.1 of Arrow)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to