[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-2567) [C++/Python] Unit is ignored on comparison of TimestampArrays

Uwe L. Korn created ARROW-2567:

             Summary: [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
             Fix For: 0.10.0

Just ran into this:
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)

This message was sent by Atlassian JIRA