-
Notifications
You must be signed in to change notification settings - Fork 90
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
Sqlalchemy schema support #328
Comments
I am honestly not sure— let me ask chatgpt |
yes that looks fine! |
@jwills I've made change for read_sql_table now, but also wondered about the write part. I tried to just add schema to
Is this a welcoming change? Or is config something one should try to keep with few possibilities and high consistency between plugins? |
Hey @johalnes I would be inclined not to add that since the overarching idea of plugins is for people to be able to customize things as they see fit; like, my goal is for Python-oriented dbt developers to be able to create and load their own plugins like I do in my jaffle shop example project here: https://github.com/jwills/jaffle_shop_duckdb/blob/duckdb/profiles.yml |
When reading tables from the SQLAlchemy plugin, one has to use pd.read_sql_query in order to specify schema.
When using table with pd.read_sql_table, one has to use the login schema. Could I change the table part to look for a schema in the source_config?
That is just change the table part to :
Or could this cause trouble for other kind of databases than Oracle?
The text was updated successfully, but these errors were encountered: