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

add tests for enforcing contracts for incremental materializations #685

Merged
merged 14 commits into from
Mar 28, 2023

Conversation

emmyoop
Copy link
Member

@emmyoop emmyoop commented Mar 16, 2023

resolves dbt-labs/dbt-core#7154

Description

Modifies tests to test incremental materializations

Checklist

@emmyoop emmyoop added the Skip Changelog Skips GHA to check for changelog file label Mar 16, 2023
@cla-bot cla-bot bot added the cla:yes label Mar 16, 2023
@emmyoop emmyoop marked this pull request as ready for review March 22, 2023 20:39
@emmyoop emmyoop requested a review from a team as a code owner March 22, 2023 20:39
@emmyoop emmyoop requested review from colin-rogers-dbt and mikealfare and removed request for colin-rogers-dbt March 22, 2023 20:39
@gshank
Copy link
Contributor

gshank commented Mar 28, 2023

There's an error in a logging event: [AdapterEventDebug]: Unable to parse dict {'name': 'Spark', 'base_msg': 'Getting table schema for relation {}', 'args': [], 'node_info': {}} because that "SparkRelation" argument can't be parsed.

@gshank
Copy link
Contributor

gshank commented Mar 28, 2023

Looks like this line in dbt/adapters/spark/impl.py: logger.debug("Getting table schema for relation {}", relation)

That "relation" should be stringified.

@emmyoop emmyoop merged commit 3b3b2a0 into main Mar 28, 2023
@emmyoop emmyoop deleted the er/ct-2293-incremental-mat branch March 28, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-2293] Enforce model contracts for incremental materializations
4 participants