v.24.11Improvement
Added Natural Camel-Case Aliases for Aggregation Functions in ClickHouse
Added aliasesanyRespectNulls,firstValueRespectNulls, andanyValueRespectNullsfor aggregation functionany. Also added aliasesanyLastRespectNullsandlastValueRespectNullsfor aggregation functionanyLast. This allows using more natural camel-case-only syntax rather than mixed camel-case/underscore syntax, for example:SELECT anyLastRespectNullsStateIfinstead ofanyLast_respect_nullsStateIf. #71403 (Peter Nguyen).
Why it matters
The feature addresses the inconsistency in naming conventions by providing camel-case-only aliases for aggregation functions with the _respect_nulls suffix. This improves readability and ease of use by avoiding mixed camel-case and underscore styles in function names.How to use it
Users can simply use the new camel-case-only aliases such asanyRespectNulls, firstValueRespectNulls, anyValueRespectNulls, anyLastRespectNulls, and lastValueRespectNulls directly in their queries instead of the underscore-separated variants. For example: SELECT anyLastRespectNullsStateIf(...) instead of anyLast_respect_nullsStateIf(...).