-
Notifications
You must be signed in to change notification settings - Fork 97
Description
- What versions are you using?
Oracle Database version : 19.28.0.0.0
Python:
platform.platform: Windows-2022Server-10.0.20348-SP0
sys.maxsize > 2**32: True
platform.python_version: 3.12.10
oracledb client version : (19, 6, 0, 0, 0)
oracledb.version: 3.4.1
- Is it an error or a hang or a crash?
error link to another component
- What error(s) or behavior you are seeing?
I use Jupyter Notebook (inside VS code) to view data. I get oracle data via odf (connection.fetch_df_all())
When I use the plugin Data Wrangler to view data, there is an impact on the next execution of connection.fetch_df_all(). Float are converted to int !
-
Does your application call init_oracle_client()?
yes -
Include a runnable Python script that shows the problem.
import oracledb
conn = ...
odf = conn.fetch_df_all(statement='select 1.2 as VALUE from dual')
pdf = pyarrow.table(odf).to_pandas()
# first run : OK, result value : 1.2
# open the pandas dataframe via data wrangler plugin
# execute again the code (in the same python session) : KO, result value : 1.0
I think that a global constant/parameter used by oracledb is changed by data wrangler plugin, but I cannot see witch one.
If I use the pl.read_database() everything goes fine.