Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2567

[C++/Python] Unit is ignored on comparison of TimestampArrays

    Details

      Description

      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)
      True

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xhochy Uwe L. Korn
                Reporter:
                xhochy Uwe L. Korn
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h