Added a `dbt_utils.type_string()` cast to the `source_relation` macro. There were accounts of failures occurring within Redshift where the casting was failing in downstream models. This will remedy those issues by casting on field creation if multiple schemas/databases are not provided.
**If this PR introduces a new macro, how did you test the new macro?**
N/A
If this PR introduces a modification to an existing macro, which packages is the macro currently present in and what steps were taken to test compatibility across packages?
All union feature packages. This was testing on the Social Media Reporting pacakges.
Did you update the README to reflect the macro addition/modifications?
[ ] Yes
[X] No (provide further explanation)
README does not need to be updated.
What change does this PR introduce?
Added a `dbt_utils.type_string()` cast to the `source_relation` macro. There were accounts of failures occurring within Redshift where the casting was failing in downstream models. This will remedy those issues by casting on field creation if multiple schemas/databases are not provided. **If this PR introduces a new macro, how did you test the new macro?**N/A
If this PR introduces a modification to an existing macro, which packages is the macro currently present in and what steps were taken to test compatibility across packages?
All union feature packages. This was testing on the Social Media Reporting pacakges.
Did you update the README to reflect the macro addition/modifications?