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
{{ message }}
Repository navigation
Pandas makes bad DESCRIBE query when using SQLAlchemy #184
This one isn't a bug in the connector. pandas.read_sql first checks whether the string is a table name, which sends a DESCRIBE; the query still runs and returns data afterwards. Use pd.read_sql_query(sql, conn) to skip that check.
Activity
freud14-tm commentedon Aug 1, 2023
Also, it would be nice if
catalogandschemawere optional.susodapop commentedon Aug 1, 2023
What version of
pandasdo you have installed?freud14-tm commentedon Aug 1, 2023
Was on 1.5.3 but just tried on 2.0.3 and get the same thing.
saadali-e commentedon Jan 17, 2024
@susodapop I have the same issue - has this been resolved in the newer versions?
cathleeny commentedon Dec 3, 2026
This one isn't a bug in the connector.
pandas.read_sqlfirst checks whether the string is a table name, which sends a DESCRIBE; the query still runs and returns data afterwards. Usepd.read_sql_query(sql, conn)to skip that check.Reference: https://pandas.pydata.org/docs/reference/api/pandas.read_sql.html