Schemata excluded from dbt docs generate
with Redshift
#1960
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
redshift
Milestone
Describe the bug
In Redshift, the following query is run during
dbt docs generate
:This query is intended to ignore schemata that begin with
pg_
. However, in Redshift, an underscore_
represents any single character when using thelike
operator. I discovered this because we have a schema calledpganalytics
and docs were not generated for it. I think the fix is as simple as escaping the underscore as described here: https://docs.aws.amazon.com/redshift/latest/dg/r_patternmatching_condition_like.htmlSystem information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
MacOS
The output of
python --version
:Python 3.7.3
The text was updated successfully, but these errors were encountered: