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

Add description to pg catalog flag #913

Merged
merged 5 commits into from
Sep 18, 2024
Merged
Changes from all commits
Commits
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
14 changes: 13 additions & 1 deletion dbt/adapters/redshift/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,19 @@ class RedshiftAdapter(SQLAdapter):

@property
def _behavior_flags(self) -> List[BehaviorFlag]:
return [{"name": "restrict_direct_pg_catalog_access", "default": False}]
return [
{
"name": "restrict_direct_pg_catalog_access",
"default": False,
"description": (
"The dbt-redshift adapter is migrating from using pg_ tables "
"to using Redshift Metadata API and information_schema tables "
"in order to support additional Redshift functionalities.\n"
"We do not expect this to impact your dbt experience."
),
"docs_url": "https://docs.getdbt.com/reference/global-configs/behavior-changes#redshift-restrict_direct_pg_catalog_access",
}
]

@classmethod
def date_function(cls):
Expand Down
Loading