Closed ScottHAZI closed 1 year ago
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Describe the bug
Dash '-' in database name causes syntax error while using generate_source command.
Steps to reproduce
If the database name contains '-', it will cause syntax error.
Expected results
Without syntax error.
Actual results
Syntax error.
Screenshots and log output
System information
packages:
Which database are you using dbt with? redshift
The output of
dbt --version
: dbt cloudThe operating system you're using:
The output of
python --version
:Additional context
The workaround here is to use '{ database_name: "\"DATABASE_NAME\"" }'