v.23.3Improvement
Allow Ignoring Errors When Pushing to MATERIALIZED VIEW with New Setting
Allow errors to be ignored while pushing to MATERIALIZED VIEW (add new settingmaterialized_views_ignore_errors, by default tofalse, but it is set totruefor flushing logs tosystem.*_logtables unconditionally). #46658 (Azat Khuzhin).
Why it matters
This feature enables uninterrupted data flushing to MATERIALIZED VIEWs by optionally ignoring errors, which is especially useful for system log tables (system.*_log) where error tolerance is critical to prevent data loss or pipeline interruption.How to use it
Set thematerialized_views_ignore_errors setting to true to ignore errors when pushing data to MATERIALIZED VIEWs. By default, this setting is false. For example, to enable error ignoring for a session or query, use:SET materialized_views_ignore_errors = 1;Note that this setting is automatically enabled for flushing logs to
system.*_log tables.