LewisDavies / upstream-prod

A dbt package for easily using production data in a development environment.
32 stars 4 forks source link

trim parent_schema to be safe #15

Closed kpounder closed 1 year ago

kpounder commented 1 year ago

For my particular setup (env schemas, Redshift, dbt 1.5.2, upstream-prod 0.6.0) seeing extra whitespace added to parent_schema (which then breaks the package), so adding this trim to handle that.

Example of what has happening to me:

15:19:52    DATABASE: product
15:19:52    SCHEMA:   
15:19:52        
15:19:52        
15:19:52            staging
15:19:52        
15:19:52    
15:19:52    RELATION: int_all_users
LewisDavies commented 1 year ago

Looks good, thanks for fixing!