v.20.8Improvement

Use Configurable Timeout for Dictionary Update Waits

When waiting for a dictionary update to complete, use the timeout specified by query_wait_timeout_milliseconds setting instead of a hard-coded value. #14105 (Nikita Mikhaylov).
When waiting for a dictionary update to complete, ClickHouse now uses the timeout specified by the query_wait_timeout_milliseconds setting instead of a hard-coded value.

Why it matters

This feature allows users to control the maximum time the system waits for dictionary updates by configuring the query_wait_timeout_milliseconds setting. It improves flexibility and prevents indefinite or excessively long waits caused by a fixed timeout value.

How to use it

Set the query_wait_timeout_milliseconds parameter to the desired timeout duration (in milliseconds) to control how long ClickHouse waits for dictionary updates. For example, add to your configuration file or query settings:

SET query_wait_timeout_milliseconds = 5000

This will make the dictionary update wait use a 5-second timeout.