Skip to content

fix(relation_configs): bug #1130 when view_definition is empty#1312

Draft
vergenzt wants to merge 1 commit into
databricks:mainfrom
vergenzt:vergenzt/fix-empty-view-definition
Draft

fix(relation_configs): bug #1130 when view_definition is empty#1312
vergenzt wants to merge 1 commit into
databricks:mainfrom
vergenzt:vergenzt/fix-empty-view-definition

Conversation

@vergenzt

Copy link
Copy Markdown

Resolves #1130

Description

Avoids error string index out of range if view_definition is empty (e.g. if existing materialized view was created from a dlt pipeline).

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.

@vergenzt

Copy link
Copy Markdown
Author

I'm testing this for my use case now

@sd-db

sd-db commented Mar 10, 2026

Copy link
Copy Markdown
Collaborator

@vergenzt if you are still encountering this issue and want to continue on the PR would be happy to take a look. Would recommend adding a functional test that helps protect against regressions.

@sd-db sd-db added the needs more info Waiting on response from user to gather more info label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs more info Waiting on response from user to gather more info

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Materialized views creation KO with 1.10.6 and 1.10.7

2 participants