B.C./Negative Year Dates · Issue #166 · oracle/python-cx_Oracle (original) (raw)

I am getting an unexpected response when extracting B.C. dates and think it might be some sort of arithmetic overflow error (potentially, speculating a bit)...

Below is the queries run in SQL Developer and what is being returned (in Python). Obviously, the main concern is the year coming back as 60824

SQL Developer Queries

image

image 1

Python object returned in fetch()/fetchmany()
datetime.datetime(60824, 1, 1, 0, 0)).