Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Light cleanup
  • Loading branch information
jtcohen6 committed Feb 1, 2023
commit 40942e6e74ffd0deafc89f986022e65a4b6d10ff
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
run_dbt_and_capture
)
from dbt.tests.adapter.constraints.test_constraints import (
BaseConstraintsColumnsEqual,
BaseConstraintsRuntimeEnforcement
BaseConstraintsColumnsEqual,
BaseConstraintsRuntimeEnforcement
)

_expected_sql_snowflake = """
Expand All @@ -15,9 +15,10 @@
color text ,
date_day date
) as (
select 1 as id,
'blue' as color,
cast('2019-01-01' as date) as date_day
select
1 as id,
'blue' as color,
cast('2019-01-01' as date) as date_day
);
"""

Expand All @@ -32,4 +33,4 @@ def expected_sql(self, project):

@pytest.fixture(scope="class")
def expected_error_messages(self):
return ['NULL result in a non-nullable column']
return ["NULL result in a non-nullable column"]