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

feat: support datasets in other (sub) DBs #95

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Conversation

betodealmeida
Copy link
Member

Allow syncing models that are in different (sub) databases. Closes #73.

For example, the SQL Alchemy for a given database might be bigquery://project_A, but the user might want to add a model that is defined in project_B. Since Superset doesn't allow creating a physical dataset in cases like this, we create a simple virtual dataset defined by:

SELECT * FROM project_B.schema.table;

@betodealmeida betodealmeida merged commit 3fdf6e8 into main Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syncing dbt model that is in different database than defined in profiles.yml file
1 participant