apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.48k stars 3.52k forks source link

[C++] Python 2.7: arrow_python_test failure #22491

Closed asfimport closed 5 years ago

asfimport commented 5 years ago

Please check the attached test log "arrow-python-test"

The unit test was executed with python 2.7.13 version. I'm not sure this project would support the compatibility.

[ RUN      ] CheckPyError.TestStatus

/Users/OpenSourceProject/arrow_repo/arrow/cpp/src/arrow/python/python-test.cc:94: Failure

Expected equality of these values:

  detail->ToString()

    Which is: "Python exception: exceptions.TypeError"

  expected_detail

    Which is: "Python exception: TypeError"

/Users/OpenSourceProject/arrow_repo/arrow/cpp/src/arrow/python/python-test.cc:94: Failure

Expected equality of these values:

  detail->ToString()

    Which is: "Python exception: exceptions.NotImplementedError"

  expected_detail

    Which is: "Python exception: NotImplementedError"

[  FAILED  ] CheckPyError.TestStatus (0 ms)

[ RUN      ] CheckPyError.TestStatusNoGIL

/Users/OpenSourceProject/arrow_repo/arrow/cpp/src/arrow/python/python-test.cc:144: Failure

Expected equality of these values:

  st.detail()->ToString()

    Which is: "Python exception: exceptions.ZeroDivisionError"

  "Python exception: ZeroDivisionError"

[  FAILED  ] CheckPyError.TestStatusNoGIL (0 ms)

[----------] 2 tests from CheckPyError (0 ms total)

 

[----------] 1 test from RestorePyError

[ RUN      ] RestorePyError.Basics

/Users/OpenSourceProject/arrow_repo/arrow/cpp/src/arrow/python/python-test.cc:154: Failure

Expected equality of these values:

  st.detail()->ToString()

    Which is: "Python exception: exceptions.ZeroDivisionError"

Environment: python 2.7.13 in Mac OS Reporter: Lee June Woo Assignee: Wes McKinney / @wesm

Original Issue Attachments:

Note: This issue was originally created as ARROW-6092. Please see the migration documentation for further details.

asfimport commented 5 years ago

Antoine Pitrou / @pitrou: Thanks for noticing. Looks like we're not running this test on Python 2.7 anymore. Note the failure is benign.

Also, by the way, we plan to stop supporting Python 2.7 after Arrow 1.0: see ARROW-5757

asfimport commented 5 years ago

Wes McKinney / @wesm: Issue resolved by pull request 5145 https://github.com/apache/arrow/pull/5145