v.21.9New Feature
Supported cluster macros in table functions 'cluster' and 'clusterAllReplicas'
Supported cluster macros inside table functions 'cluster' and 'clusterAllReplicas'. #26913 (polyprogrammist).Why it matters
This feature enables the use ofcluster macros within the cluster and clusterAllReplicas table functions, allowing dynamic cluster resolution. It simplifies cluster configuration management and enhances flexibility in distributed queries.How to use it
Use thecluster macros inside the cluster or clusterAllReplicas table functions in your SQL queries. For example:SELECT * FROM cluster('my_cluster', 'database', 'table')This will now support macros defined in the cluster configuration.