Skip to content

SQL: don't reflect full database GH7396 #7581

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

jorisvandenbossche
Copy link
Member

Closes #7396

For now, let PandasSQLAlchemy not reflect anything by default, and read_sql_table provides its own reflected meta. Had to change some of the other functions to get this working.

@danielballan @mangecoeur Can someone review? (it feeled a bit messy)

@jreback jreback added the SQL label Jun 30, 2014
@jreback jreback added this to the 0.14.1 milestone Jun 30, 2014
@jorisvandenbossche
Copy link
Member Author

@danielballan @mangecoeur @hayd can someone review this?

@mangecoeur
Copy link
Contributor

I had a look and it all seems sane, but don't have time to actually run it right now :(

@jorisvandenbossche
Copy link
Member Author

OK, merging then. All tests still pass so should be OK.

jorisvandenbossche added a commit that referenced this pull request Jul 5, 2014
@jorisvandenbossche jorisvandenbossche merged commit 4750d49 into pandas-dev:master Jul 5, 2014
@jorisvandenbossche jorisvandenbossche deleted the sql-reflect-database branch July 5, 2014 13:49
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.

SQL: read_sql functions should not inspect all tables of database
3 participants