You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What versions are you using?
3.1.0 on python 3.9.6 and 3.12.7
Is it an error or a hang or a crash?
Looks like memory corruption, running the code over and over at some point you see the same Arrow object printing junk (I don't think it goes back to db to re-run)
This fails CONSISTENTLY if the same connection is used twice (I'm not sure that's expected or not), but it also fails (if you try enough) with a new connection
What error(s) or behavior you are seeing?
Incorrect result, need to run a few times
Does your application call init_oracle_client()?
Reproduces in both thin and thick, thick seems easier to trigger
Include a runnable Python script that shows the problem.
import oracledb
import pyarrow
def f() -> pyarrow.Table:
c = oracledb.connect("...")
oracle_df = c.fetch_df_all(
statement="select dbms_random.value from dual", arraysize=5000
)
pyarrow_table = pyarrow.Table.from_arrays(
arrays=oracle_df.column_arrays(), names=oracle_df.column_names()
)
return pyarrow_table
df = f()
print(f"df: {df}")
df2 = f() # <-- no use of df2
print(f"df: {df}")
print(f"df: {df}")
The text was updated successfully, but these errors were encountered:
What versions are you using?
3.1.0 on python 3.9.6 and 3.12.7
Is it an error or a hang or a crash?
Looks like memory corruption, running the code over and over at some point you see the same Arrow object printing junk (I don't think it goes back to db to re-run)
This fails CONSISTENTLY if the same connection is used twice (I'm not sure that's expected or not), but it also fails (if you try enough) with a new connection
What error(s) or behavior you are seeing?
Incorrect result, need to run a few times
Does your application call init_oracle_client()?
Reproduces in both thin and thick, thick seems easier to trigger
Include a runnable Python script that shows the problem.
The text was updated successfully, but these errors were encountered: