Skip to content

Conversation

@adam-staros95
Copy link
Contributor

Resolves #1303

Description

The temporary view was intended to enrich the streaming table with constraints, but the implementation was incorrect, so the constraints never worked (as noted in the comment).

Creating the temporary view and using it to create the streaming tabl caused incompatible schema errors when the source schema evolved and significantly slowed down model creation, leading to unnecessary compute costs.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

The temporary view was intended to enrich the streaming table with constraints, but the implementation was incorrect,
so the constraints never worked (as noted in the comment).

Creating the temporary view and using it to create the streaming table also caused incompatible schema errors when
the source schema evolved and significantly slowed down model creation, leading to unnecessary costs.

Signed-off-by: Adam Staros <staros.adam@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dbt streaming_table fails on schema evolution while native streaming table works

2 participants