v.22.4Improvement
Closes #35641: Allow EPHEMERAL columns without explicit default expression
Closes #35641 Allow EPHEMERAL columns without explicit default expression. #35706 (Yakov Olkhovskiy).Why it matters
This feature enables users to defineEPHEMERAL columns without specifying default expressions, simplifying table schema definitions and improving usability by reducing boilerplate.How to use it
When creating or altering tables, users can declare columns with theEPHEMERAL modifier without providing a default expression. For example:CREATE TABLE example (
id UInt32,
ephemeral_col Int32 EPHEMERAL
) ENGINE = ...;