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

fix: alter table description without full_refresh #1139

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e85ecb8
fix: alter table description without full_refresh
kiwamizamurai Mar 14, 2024
bb1ee2c
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Mar 19, 2024
cdd65fa
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Mar 21, 2024
d5aefed
Merge branch 'dbt-labs:main' into fix/1138-table-description
kiwamizamurai Mar 26, 2024
13f1701
refactor: modify to use existing implementation for alter table descr…
kiwamizamurai Mar 26, 2024
26330aa
add: changelog by changie
kiwamizamurai Mar 26, 2024
42b796b
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Mar 28, 2024
89c2eb0
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Mar 28, 2024
ac75ff2
fix: update_table_description like the seed materialization
kiwamizamurai Mar 29, 2024
6453967
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Apr 6, 2024
cba40a2
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Apr 24, 2024
20cbb53
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Apr 25, 2024
f66ca1b
Merge branch 'main' into fix/1138-table-description
colin-rogers-dbt May 3, 2024
8282d00
Update dbt/include/bigquery/macros/adapters.sql
kiwamizamurai May 3, 2024
55c80f7
Merge branch 'main' into fix/1138-table-description
kiwamizamurai May 8, 2024
4236d34
Merge branch 'main' into fix/1138-table-description
kiwamizamurai May 11, 2024
2a19d10
Merge branch 'main' into fix/1138-table-description
kiwamizamurai May 15, 2024
8dc3860
Merge branch 'main' into fix/1138-table-description
kiwamizamurai May 20, 2024
093689f
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Jun 5, 2024
872ad59
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Jul 13, 2024
206e111
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Sep 26, 2024
b052d00
Merge branch 'main' into fix/1138-table-description
kiwamizamurai Oct 3, 2024
4786003
Merge branch 'main' into fix/1138-table-description
colin-rogers-dbt Dec 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20240326-203007.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Support the updating of incremental model description after initial creation
time: 2024-03-26T20:30:07.092671+09:00
custom:
Author: kiwamizamurai
Issue: "1138"
3 changes: 3 additions & 0 deletions dbt/include/bigquery/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
{% if for_columns and config.persist_column_docs() and model.columns %}
{% do alter_column_comment(relation, model.columns) %}
{% endif %}
{% if config.persist_relation_docs() and model.description %}
{{ adapter.update_table_description(model['database'], model['schema'], model['alias'], model['description']) }}
{% endif %}
{% endmacro %}

{% macro bigquery__alter_column_comment(relation, column_dict) -%}
Expand Down
Loading