You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this feature
I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion
Describe the feature
I propose to add functionality to the dbt-bigquery adapter to retrieve and use table and column descriptions directly from BigQuery. This would streamline the process of incorporating existing BigQuery metadata into dbt projects.
Technical approach
One possible implementation would be to modify the _get_dbt_columns_from_bq_table function within the adapter. By extending this function to extract and store the description attribute from BigQuery's SchemaField objects, we could seamlessly integrate these descriptions into the BigQueryColumn representation used by dbt.
Currently, to get table/column descriptions into dbt, you have to copy them manually or write custom scripts. This is time consuming and error prone.
Who will this benefit?
This feature would be invaluable for
Data engineers and analysts: They could quickly bootstrap DBT projects using existing BigQuery metadata, saving significant time and effort.
Teams with established BigQuery metadata: This would enable a smooth transition to dbt, leveraging their existing documentation and knowledge.
Users of dbt-codegen and dbt-osmosis: These tools could automatically incorporate descriptions into generated dbt models.
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This is a great idea. However, given our north star around adapters/dbt core being stateless, this is not a feature functionality we will support in dbt-bigquery but rather an interface like dbt Cloud that can better manage metadata.
Is this your first time submitting a feature request?
Describe the feature
I propose to add functionality to the dbt-bigquery adapter to retrieve and use table and column descriptions directly from BigQuery. This would streamline the process of incorporating existing BigQuery metadata into dbt projects.
Technical approach
One possible implementation would be to modify the _get_dbt_columns_from_bq_table function within the adapter. By extending this function to extract and store the description attribute from BigQuery's SchemaField objects, we could seamlessly integrate these descriptions into the BigQueryColumn representation used by dbt.
dbt-bigquery/dbt/adapters/bigquery/impl.py
Line 393 in 0627aa2
Describe alternatives you've considered
Currently, to get table/column descriptions into dbt, you have to copy them manually or write custom scripts. This is time consuming and error prone.
Who will this benefit?
This feature would be invaluable for
Data engineers and analysts: They could quickly bootstrap DBT projects using existing BigQuery metadata, saving significant time and effort.
Teams with established BigQuery metadata: This would enable a smooth transition to dbt, leveraging their existing documentation and knowledge.
Users of dbt-codegen and dbt-osmosis: These tools could automatically incorporate descriptions into generated dbt models.
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: