-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: avoid SQL MetaData reflection in init #45260 #45371
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
Conversation
fangchenli
commented
Jan 14, 2022
•
edited
Loading
edited
- closes PERF: 1.4.0rc1 Execution time of pd.read_sql increased from seconds to minutes #45260
Hello @fangchenli! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-01-15 20:36:30 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix, looks good!
One comment: we also have a tables
property on the SQLDatabase
. It doesn't seem to be used internally in the SQLDatabase
class itself, but to keep that property useful, we might need to reflect meta
at that moment to actually get a list of tables? (no idea actually, just guessing)
Thanks for the comment. I'll take a look at the |
thanks @fangchenli very nice ! |
@meeseeksdev backport 1.4.x |
Something went wrong ... Please have a look at my logs. |
#45395) Co-authored-by: Fangchen Li <[email protected]>