Replies: 1 comment 2 replies
-
As a suggestion, try getting the value of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to read from an Oracle table (19c server) with a TIMESTAMP(6) column, which contains values that are displayed as "01-JAN-01 01.00.00.000000000 AM". Those values have been inserted by a Java application to indicate "beginning of time".
I'm reading this table from a Python script (3.11.8, oracledb version 2.1.1, thick driver (19, 13, 0, 0, 0)). Trying to read the rows which contains such values results in
I tried to create a minimal testcase for this and came up with the following (executed in SQL*CL)
Suprisingly (to me) reading this table/column worked nicely from Python. Then I tried to add
Which inserted a second row which looks exactly like the first row
And now the "ValueError: year -1 is out of range" occurs again when reading both rows from Python! I can't understand what is the difference between those 2 rows, and why one of them makes the oraceldb library fail.
Any idea?
CU, Joe
Beta Was this translation helpful? Give feedback.
All reactions