-
Notifications
You must be signed in to change notification settings - Fork 363
Description
Hi!
I am trying to retrieve 300k records from an Oracle table with 119 columns.
I can easily connect to the database but when I try to fetch the records I get only ca. half of them. Surprisingly:
- I do not receive any error message;
- upon re-executing the following Python script
import cx_Oracle
import pandas as pd
sql_query = 'select * from ...'
con = cx_Oracle.connect(user='...', password='...', dsn='...')
df = pd.read_sql(sql_query, con)
df.shape[0]
I do not get the same number of records (that is, I get different values for df.shape[0]
).
Any clue on what the problem might be?
Here are some possibly useful info:
-
What is your version of Python? Is it 32-bit or 64-bit?
Python 3.7.0 64-bit -
What is your cx_Oracle version?
7.2.2 -
What error(s) you are seeing?
None -
What OS (and version) is Python executing on?
Windows 10 -
What is your Oracle Database version?
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production -
What Oracle environment variables did you set? How exactly did you set them?
None