Environment variables in clickhouse config

Viewed 441

Can we define separate parts of some tag in clickhouse config with environment variables?

For example we can use:

<engine from_env="ENGINE"/>

then all the value comes from env variable.

But can we use something like this:

<engine>ENGINE = MergeTree PARTITION BY ${PARTITIONING}
        ORDER BY (event_date, event_time)
        TTL ${TTL}
</engine>

Or is there some other option for this purpose?

0 Answers
Related