dbt-labs / dbt-adapters

Apache License 2.0
17 stars 20 forks source link

Add `get_catalog_for_single_relation` macro and capability #231

Closed aranke closed 1 month ago

aranke commented 1 month ago

Problem

We want to allow fetching object-level stats for materialized objects in the DWH as an alternative to hitting information_schema tables.

Solution

Create stubs for the new get_catalog_for_single_relation macro and GetCatalogForSingleRelation capability.

Accompanying Snowflake PR: https://github.com/dbt-labs/dbt-snowflake/pull/1064

Checklist

github-actions[bot] commented 1 month ago

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 contributing guide.