-
Notifications
You must be signed in to change notification settings - Fork 175
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
ADAP-865: Parameterize where clause, add option to supply list of relations #758
ADAP-865: Parameterize where clause, add option to supply list of relations #758
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide. |
This comment was marked as outdated.
This comment was marked as outdated.
…on logic with get_catalog_relations
… of relations temporarily for testing
…eRelation] version
@mikealfare do you predict that there will be relevant adapter zone tests here? |
The idea is that once this feature gets turned on (which it is for @colin-rogers-dbt, I know you had the same question. Does this address your concern as well? |
…ations (dbt-labs#758) * parameterize where clause, add option to supply list of relations * parameterize where clause, add option to supply list of relations * revert whitespace fix * revert whitespace fix * revert whitespace fix * fix missing macro keyword * point to the dev branch on core, revert before pushing to main * add new macro get_catalog_relations, update get_catalog to share common logic with get_catalog_relations * fixed reference in get_catalog_relations, added original dict version of relations temporarily for testing * remove dict version of relations based get_catalog, point to List[BaseRelation] version * point dev reqs back to main on core * fix typo in schemas argument * add feature flag to turn on relation filtering for get_catalog * update changelog to point to the PR instead of a broken url * Support changes to dbt-core capability system --------- Co-authored-by: Peter Allen Webb <[email protected]>
resolves #801
docs dbt-labs/docs.getdbt.com/#
Problem
The current implementation of
get_catalog
only supports schema-level limitation. This can take a long time when schemas have a lot of objects in them.Solution
Provide a way to pass in a list of relations instead of schemas. The new
relations
parameter can be a list of relations, a list of schema relation objects, or a mix.Checklist