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

Support persist docs on Postgres and Redshift: Relations and columns #2333

Closed
drewbanin opened this issue Apr 16, 2020 · 0 comments · Fixed by #2378
Closed

Support persist docs on Postgres and Redshift: Relations and columns #2333

drewbanin opened this issue Apr 16, 2020 · 0 comments · Fixed by #2378
Labels
enhancement New feature or request redshift

Comments

@drewbanin
Copy link
Contributor

Child issue of #1573

Notes:

To do:

  • Support persisting docs for relations (tables and views)
  • Support persisting docs for columns in tables and views

Syntax:

comment on table {{ relation }} is $__dbt_comment__${{ comment }}$__dbt_comment__$;

comment on column {{ relation }}.{{ column }} is $__dbt_comment__${{ comment }}$__dbt_comment__$

If the project specifies a column that does not exist in the destination table, the comment on column statement may fail. This is the desired behavior.

@drewbanin drewbanin added enhancement New feature or request redshift labels Apr 16, 2020
beckjake added a commit that referenced this issue May 4, 2020
…t-docs

Column and table comments for postgres/redshift (#2333)
@drewbanin drewbanin added this to the Octavius Catto milestone May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request redshift
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant