You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/06/13 11:31:00 UTC
[jira] [Assigned] (ARROW-5514) [C++] Printer for uint64 shows wrong
values
[ https://issues.apache.org/jira/browse/ARROW-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou reassigned ARROW-5514:
-------------------------------------
Assignee: Antoine Pitrou
> [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
> Assignee: Antoine Pitrou
> 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)