Skip to content
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

BUG: error raise when column contains percentage #37534

Merged
merged 10 commits into from Dec 22, 2020
Merged

BUG: error raise when column contains percentage #37534

merged 10 commits into from Dec 22, 2020

Conversation

erfannariman
Copy link
Member

@erfannariman erfannariman commented Oct 31, 2020

@erfannariman erfannariman marked this pull request as draft October 31, 2020 13:44
@erfannariman erfannariman marked this pull request as ready for review November 1, 2020 12:47
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2020

This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Dec 2, 2020
Copy link
Member

@arw2019 arw2019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but needs to be looked over by someone who's more familiar with the sql module

@erfannariman would you mind merging master again to make sure this up to date

@arw2019 arw2019 added the Needs Review Waiting for review/response from a maintainer. label Dec 11, 2020
@erfannariman
Copy link
Member Author

erfannariman commented Dec 19, 2020

lgtm but needs to be looked over by someone who's more familiar with the sql module

@erfannariman would you mind merging master again to make sure this up to date

Done

@jreback
Copy link
Contributor

jreback commented Dec 22, 2020

this was deliberately changed in this was deliberately changed in #34212 so not sure why you think this is a regression.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i c, this doesn't rever the prior just fixes an issue.

@@ -29,6 +29,7 @@ Fixed regressions
- Fixed performance regression in ``df.groupby(..).rolling(..)`` (:issue:`38038`)
- Fixed regression in :meth:`MultiIndex.intersection` returning duplicates when at least one of the indexes had duplicates (:issue:`36915`)
- Fixed regression in :meth:`.GroupBy.first` and :meth:`.GroupBy.last` where ``None`` was considered a non-NA value (:issue:`38286`)
- Fixed regression in :func:`read_sql_table` raising a ``sqlalchemy.exc.OperationalError`` when column names contained a percentage sign (:issue:`37517`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to 1.2 i think we could put this in.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it to 1.2 and as bug fix, since it's not a regression fix if I understood you correctly.

@jreback jreback added IO SQL to_sql, read_sql, read_sql_query and removed Needs Review Waiting for review/response from a maintainer. Stale labels Dec 22, 2020
@jreback jreback added this to the 1.2 milestone Dec 22, 2020
@jreback jreback merged commit 461ce9a into pandas-dev:master Dec 22, 2020
@jreback
Copy link
Contributor

jreback commented Dec 22, 2020

thanks @erfannariman

@jreback
Copy link
Contributor

jreback commented Dec 22, 2020

@meeseeksdev backport 1.2.x

simonjayhawkins pushed a commit that referenced this pull request Dec 22, 2020
…38632)

Co-authored-by: Erfan Nariman <34067903+erfannariman@users.noreply.github.com>
@erfannariman erfannariman deleted the 37517-percentage-sign-columnname branch December 22, 2020 16:50
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO SQL to_sql, read_sql, read_sql_query
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: pd.read_sql_table() raises unknown column error when column name of a table contains %
3 participants