Repository navigation
Clarify docs for materialized_views_ignore_errors - #106044
Merged
Merged
Conversation
The previous one-line description ("Allows to ignore errors for MATERIALIZED
VIEW, and deliver original block to the table regardless of MVs") was read
as implying that with the setting disabled the original block is not
delivered to the source table when a dependent view throws. That is not
what the setting does: it controls only how MV pipeline errors are reported
and provides no atomicity guarantee against the source table either way.
Discussed in #105943 (comment)
Contributor
|
Workflow [PR], commit [7d6e135] Summary: ❌
AI ReviewSummaryThis PR clarifies the documentation for Final VerdictStatus: ✅ Approve |
antaljanosbenjamin
approved these changes
May 28, 2026
Replace the paragraph about materialized_views_ignore_errors with wording that distinguishes the source table from the destination table, drops the incorrect "all blocks will be written to the destination" claim, and points users at insert deduplication for exactly-once delivery on retry. Also fixes a "truoke" typo. Follow-up to #106044
…ews_ignore_errors The previous wording said blocks before and after the throwing block are written to the failing view's destination. That is incorrect — once a view's processor enters the exception stage, `ExceptionKeepingTransform` cancels the input and drops every subsequent chunk, so only blocks processed before the exception reach the destination. Also clarify that sibling views and their downstream chains are unaffected, and move the retry+deduplication hint to the default-failure case where a client-side retry is actually triggered. Verified against tests/queries/0_stateless/03403_mv_errors.reference. Discussed in #106044 (comment)
Make the retry+deduplication advice apply only to the default (failing) mode where the client actually has a failure signal. Mention that the enabled mode trades view completeness for forward progress and point at the CREATE VIEW docs for the full partial-delivery semantics. Follow-up to #106044 (comment)
Contributor
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 8/8 (100.00%) | Lost baseline coverage: none · Uncovered code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Clarify the description of the
materialized_views_ignore_errorssetting: it controls only error reporting from dependent materialized views and does not provide any atomicity guarantee against the source table.Follow-up to a doc discussion in #105943 (comment)
Documentation entry for user-facing changes
Version info
26.6.1.227