v.18.14New Feature

New Macros for Declaring Replicated Tables in ClickHouse

Now you can use pre-defined database and table macros when declaring Replicated tables. #3251
Support for using pre-defined database and table macros when declaring Replicated tables in ClickHouse.

Why it matters

This feature allows users to simplify and standardize the configuration of Replicated tables by leveraging macros for database and table names instead of hardcoding them. It reduces manual errors and improves manageability of replicated table definitions.

How to use it

Define macros for database and table in the relevant configuration files or settings, then reference these macros in the Replicated table declarations. This replaces explicit names with macro references, streamlining table creation commands.