Skip to content
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

Modify adapter to support unified constraint fields #522

Merged
merged 6 commits into from
Mar 22, 2023

Conversation

peterallenwebb
Copy link
Contributor

resolves #491

Description

Modifies the adapter to support changes to the constraints fields in Core.

Checklist

@peterallenwebb peterallenwebb requested a review from a team as a code owner March 14, 2023 21:38
@cla-bot cla-bot bot added the cla:yes label Mar 14, 2023
@@ -1,7 +1,7 @@
# install latest changes in dbt-core
# TODO: how to automate switching from develop to version branches?
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git@paw/ct-2198-unify-constraints#egg=dbt-core&subdirectory=core
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flagging just to remind to repoint back to main here before merger

@@ -10,8 +10,8 @@

_expected_sql_snowflake = """
create or replace transient table {0} (
id integer not null primary key ,
color text ,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

satisfying!

@peterallenwebb peterallenwebb merged commit d3589a9 into main Mar 22, 2023
@peterallenwebb peterallenwebb deleted the paw/ct-2212-unify-constraints branch March 22, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-2212] [Snowflake] Use new ColumnLevelConstraint structure in snowflake__get_columns_spec_ddl
4 participants