v.23.3Improvement

Fixed UNKNOWN_TABLE exception for materialized views with unavailable dependent tables

Fixed UNKNOWN_TABLE exception when attaching to a materialized view that has dependent tables that are not available. This might be useful when trying to restore state from a backup. #47975 (MikhailBurdukov).
Fixed the UNKNOWN_TABLE exception that occurred when attaching to a materialized view with dependent tables that are not available.

Why it matters

This fix addresses the issue where users could not attach materialized views if some dependent tables were missing, which is particularly useful when restoring database state from backups. It improves reliability and usability in backup and restore workflows.

How to use it

Users can now attach materialized views without errors even if some dependent tables are temporarily unavailable, simplifying backup restorations. No special configuration is needed; the fix is applied automatically.