Replies: 2 comments
-
|
Start by upgrading python-oracledb to the latest version, which is currently 3.4.2. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Additionally I would suggest using either 19c or 26ai Instant Client. These are LTS support releases. I believe some kinds of patches are not landing in the 21 'innovation' release. Also Oracle Database/Client 21's support will end sooner than the LTS releases. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
For context :
Oracledb version: 3.3.0
Python version: 3.12.7 64 bits
Oracle: 19.26
Running in thick mode with instant client 21.1
Hello,
I have a daily batch script that reads tables from an Oracle database, and import them to another database. The table has a SDO_GEOMETRY column, and no transformation is done to the object during the import process.
When inserting the data, I sometimes get the error "DPY-2008: found object of type "MDSYS.SDO_GEOMETRY" when expecting object of type "MDSYS.SDO_GEOMETRY"" which doesn't help much. The code is pretty much read -> convert to pandas dataframe for transformation -> insert.
A simplified sample of the code:
Help on determining where the issue could be would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions