v.22.7Improvement

Allow Globs in Key for clickhouse-extract-from-config Tool

Allow to specify globs * or {expr1, expr2, expr3} inside a key for clickhouse-extract-from-config tool. #38966 (Nikita Mikhaylov).
The clickhouse-extract-from-config tool now supports glob patterns such as * and {expr1, expr2, expr3} inside keys to match multiple configuration entries.

Why it matters

This feature improves the flexibility and convenience of extracting multiple configuration values at once by allowing users to specify pattern-based keys rather than individual exact keys. It simplifies configuration inspection and scripting when dealing with complex or repeated configuration structures.

How to use it

When using the clickhouse-extract-from-config tool, specify keys with glob patterns like or curly brace expressions {expr1, expr2, expr3} to match multiple entries. For example, use a key like path.to.setting. or path.to.{setting1,setting2,setting3} to extract multiple related configuration values in a single command.