Trim whitespace characters from schema names before creating #1074
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Issue description
Somehow when I was using DBT today, I created some schemas that had multiple whitespace characters in them (carriage returns
\n
and spaces). These were a huge pain to get rid of! DBT should prevent this by trimming whitespace from schema names.System information
The output of
dbt --version
:The operating system you're running on:
Mac OS
The python version you're using (probably the output of
python --version
)Steps to reproduce
I'm ... not sure how I got into this state. It could have been from lots of cmd+C and interactive terminal work. I'm not sure I could reproduce it, but I don't think it would hurt to make DBT more defensive here!
Here's what some of my schemas looked like:
The text was updated successfully, but these errors were encountered: