-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Description
This might very well being one of those "you shouldn't be doing this", but it raises an error that is not very user friendly
oracledb.exceptions.ProgrammingError: DPY-2060: Arrow C Data Interface operation failed with error code 75
-
What versions are you using?
3.3DB is 19c but shouldn't matter -
Is it an error or a hang or a crash?
Crash, DPY-2060 -
What error(s) or behavior you are seeing?
DPY-2060 -
Does your application call init_oracle_client()?
Thin, but shouldn't matter -
Include a runnable Python script that shows the problem.
import oracledb
conn = oracledb.connect(...")
with conn.cursor() as cursor:
try:
print("Dropping table")
cursor.execute("drop table oracle_crash")
except Exception:
print("Couldn't drop, moving on")
pass
print("Creating source table, might take a bit as it's 100M rows")
cursor.execute(
"""
create table oracledb_crash parallel 4 as
select 'THIS IS A TEST TO BLOW THINGS UP' c1
from (select * from dual connect by rownum <= 10000),
(select * from dual connect by rownum <= 10000)
"""
)
df = conn.fetch_df_all("select * from oracledb_crash", arraysize=10000)
print(dir(df))
cjbj