This PR adds limited dbt model contract enforcement for the glue adapter. It adds a call to the get_assert_columns_equivalent() macro which is used to enforce the schemas for view and table materializations.
I say "limited" because it's missing a portion of the enforcements which includes but not limited to constraints and potential various Glue specific datatypes. In this PR, I only addressed the string type.
resolves #296
Description
This PR adds limited dbt model contract enforcement for the glue adapter. It adds a call to the
get_assert_columns_equivalent()
macro which is used to enforce the schemas for view and table materializations.I say "limited" because it's missing a portion of the enforcements which includes but not limited to constraints and potential various Glue specific datatypes. In this PR, I only addressed the
string
type.Checklist
CHANGELOG.md
and added information about my change to the "dbt-glue next" section.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.