v.22.10Improvement

Don't Log "TABLE_IS_DROPPED" Exception for Ignored SELECT from System Table

Don't add "TABLE_IS_DROPPED" exception to system.errors if it's happened during SELECT from a system table and was ignored. #41908 (AlfVII).
Prevent adding the TABLE_IS_DROPPED exception to system.errors if it occurs during a SELECT from a system table and is ignored.

Why it matters

This change avoids cluttering the system.errors table with harmless TABLE_IS_DROPPED errors that happen when selecting from system tables if those errors are programmatically ignored. It improves the accuracy of error logging by not recording expected or non-impactful exceptions.

How to use it

This behavior is applied automatically in ClickHouse starting from the version including this fix. Users do not need to enable or configure anything to benefit from this improved error handling.