You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/05/10 15:29:00 UTC
[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:
{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)