[
https://issues.apache.org/jira/browse/ARROW-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861504#comment-16861504
]
Joris Van den Bossche commented on ARROW-5514:
----------------------------------------------
Sorry for the slow reply (and thanks for the hint this might be a good C++
"easy" issue). I put it on my list of possible issues to tackle, but I have
some others I first want to do.
So if somebody else wants to take this up, feel free to do so!
> [C++] Printer for uint64 shows wrong values
> -------------------------------------------
>
> Key: ARROW-5514
> URL: https://issues.apache.org/jira/browse/ARROW-5514
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 0.13.0
> Reporter: Joris Van den Bossche
> Priority: Minor
>
> From the example in ARROW-5430:
> {code}
> In [16]: pa.array([14989096668145380166, 15869664087396458664],
> type=pa.uint64())
>
> Out[16]:
> <pyarrow.lib.UInt64Array object at 0x7ff7c51bdf48>
> [
> -3457647405564171450,
> -2577079986313092952
> ]
> {code}
> I _think_ the actual conversion is correct, and it's only the printer that is
> going wrong, as {{to_numpy}} gives the correct values:
> {code}
> In [17]: pa.array([14989096668145380166, 15869664087396458664],
> type=pa.uint64()).to_numpy()
>
> Out[17]: array([14989096668145380166, 15869664087396458664], dtype=uint64)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)