v.23.12Improvement
Add skip_unavailable_shards setting for Distributed tables
Addskip_unavailable_shardsas a setting forDistributedtables that is similar to the corresponding query-level setting. Closes #43666. #57218 (Gagan Goel).
Why it matters
This feature allows users to configureDistributed tables to skip unavailable shards automatically, preventing query failures caused by unreachable shards and improving query reliability and fault tolerance.How to use it
Enable the setting by addingskip_unavailable_shards=1 in the table definition of a Distributed table or set it as a session/query setting to skip unavailable shards during query execution.