[ 
https://issues.apache.org/jira/browse/ARROW-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-2567:
----------------------------------
    Labels: pull-request-available  (was: )

> [C++/Python] Unit is ignored on comparison of TimestampArrays
> -------------------------------------------------------------
>
>                 Key: ARROW-2567
>                 URL: https://issues.apache.org/jira/browse/ARROW-2567
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>    Affects Versions: 0.9.0
>            Reporter: Uwe L. Korn
>            Assignee: Uwe L. Korn
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>
> Just ran into this:
> {code:java}
> ipdb> p py_array
> <pyarrow.lib.TimestampArray object at 0x13bcc5278>
> [
> Timestamp('1970-01-01 00:00:00'),
> Timestamp('1970-01-01 00:00:00.000000001'),
> Timestamp('1970-01-01 00:00:00.000000002'),
> Timestamp('1970-01-01 00:00:00.000000003'),
> ipdb> p jvm_array
> <pyarrow.lib.TimestampArray object at 0x13bcc52c8>
> [
> Timestamp('1970-01-01 00:00:00'),
> Timestamp('1970-01-01 00:00:01'),
> Timestamp('1970-01-01 00:00:02'),
> Timestamp('1970-01-01 00:00:03'),
> ipdb> py_array.equals(jvm_array)
> True{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to