v.20.4Improvement

Now supports layout type specification for dictionaries without arguments in DDL-queries

Now layout type for dictionaries with no arguments can be specified without round brackets in dictionaries DDL-queries. Fixes #10057. #10064 (alesapin)
Allow specifying dictionary layout types without round brackets in dictionary DDL queries when no arguments are provided.

Why it matters

This feature simplifies the syntax for defining dictionary layouts in ClickHouse. Previously, specifying a layout type required using round brackets even if there were no arguments, which was unnecessary and could lead to confusion or errors. By allowing omission of the round brackets, the dictionary DDL queries become cleaner and easier to write, improving usability.

How to use it

When creating or altering dictionaries in ClickHouse DDL, you can now specify the layout type without parentheses if it takes no arguments. For example, instead of writing LAYOUT(Hash()), you can simply write LAYOUT Hash.