arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe L. Korn (JIRA)" <>
Subject [jira] [Created] (ARROW-4746) [C++/Python] PyDataTime_Date wrongly casted to PyDataTime_DateTime
Date Sun, 03 Mar 2019 12:04:00 GMT
Uwe L. Korn created ARROW-4746:

             Summary: [C++/Python] PyDataTime_Date wrongly casted to PyDataTime_DateTime
                 Key: ARROW-4746
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, Python
            Reporter: Uwe L. Korn

As mentioned in,
we currently access a {{PyDataTime_Date}} object with a {{PyDataTime_DateTime}} cast in {{PyDateTime_DATE_GET_SECOND}}
in our code in two instances. While CPython is able to deal with this wrong usage, PyPy is
not able to do so. We should separate the path here into one that deals with dates and another
that deals with datetimes.

Reproducible code:
pa.array([, 5, 10)], type=pa.date64()){code}

This message was sent by Atlassian JIRA

View raw message