-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial code to use dbt.tests.adapter in Redshift #81
Conversation
f9ccc96
to
cae3bb5
Compare
|
||
|
||
class TestSnapshotCheckColsRedshift(BaseSnapshotCheckCols): | ||
# Redshift defines the 'name' column such that it's not big enough |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider updating the base case to accommodate all adapters? but can also leave this as future steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't update the base case to make Redshift work, because it requires a specific column datatype which doesn't work for all adapters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think this is related to some jank around updating these fixture tables mid-sequence, which is worth discussing further, alongside the jank we've already identified: dbt-labs/dbt-core#4778 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
resolves #78
Description
Use the new testing framework in Redshift.
Checklist
CHANGELOG.md
and added information about my change to the "dbt-redshift next" section.