Skip to content

Commit

Permalink
Add description to pg catalog flag (#913)
Browse files Browse the repository at this point in the history
* add a description and docs url for the restrict_direct_pg_catalog_access behavior flag
  • Loading branch information
mikealfare authored Sep 18, 2024
1 parent 04bd2c0 commit fb1b5ae
Showing 1 changed file with 13 additions and 1 deletion.
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

0 comments on commit fb1b5ae

Please sign in to comment.