Skip to content

BUG: sql ignores dtype when chunksize is set and result is empty #50288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 15, 2022

@phofl phofl added Bug IO SQL to_sql, read_sql, read_sql_query labels Dec 15, 2022
@mroeschke mroeschke added this to the 2.0 milestone Dec 17, 2022
@mroeschke mroeschke merged commit 075947f into pandas-dev:main Dec 17, 2022
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the 50245 branch December 17, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO SQL to_sql, read_sql, read_sql_query
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: When read_sql_query() returns no records and chunksize is specified, dtype is ignored.
2 participants