-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Feature/bigquery column comments #2402
Conversation
078217b
to
71cbc27
Compare
core/dbt/utils.py
Outdated
@@ -631,3 +631,12 @@ def __getitem__(self, name: str) -> Any: | |||
|
|||
def __contains__(self, name) -> bool: | |||
return any((name in entry for entry in self._itersource())) | |||
|
|||
|
|||
def sql_escape(string): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is more of a weird bigquery thing than an "SQL" thing. Can this just go in the biguery impl.py?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
3f37657
to
7122a3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks reasonable to me. Glad to see some of this stuff moving into the adapter/config objects, I think it makes a lot more sense.
resolves #2335
Description
Adds docs persistence for BQ columns.
Checklist
CHANGELOG.md
and added information about my change to the "dbt next" section.