v.23.1Improvement

Allow Macro Substitution in Disk Endpoint

Allow macro substitution in endpoint of disks. Resolve #40951. #44533 (SmitaRKulkarni).
Allow macro substitution in the endpoint configuration of ClickHouse disks.

Why it matters

This feature enables dynamic configuration of disk endpoints by supporting macros. It improves flexibility and simplifies management by allowing users to define reusable macros in disk endpoint settings, resolving issue #40951.

How to use it

Define macros and reference them in the disk endpoint configuration within the ClickHouse configuration files. The macros will be substituted at runtime, allowing dynamic endpoint specification.