ClickHouse 26.5: SQL Compatibility Improvements
Mark Needham
ClickHouse 26.5 ships several SQL compatibility improvements alongside other new features. In this video, Mark runs through the SQL additions using ClickHouse Local.
url_basesetting — set a base URL once and reference just the filename in URL table function queries- Negative
LIMIT BY— useLIMIT -N BY columnto return the bottom N rows per group instead of the top N UNNEST— SQL-standard alias forarrayJointo explode arrays into rowsSTDDEV— alias forstddevSampSTRING_AGG— alias forgroupConcat, with optional delimiterarray_to_string— alias forarrayStringConcat- Bare function names in higher-order functions — pass
notEmptyorupperdirectly instead of writing a full lambda
More from the 26.5 release: https://clickhouse.com/blog/clickhouse-release-26-5

Open House
Scaling ClickHouse to petabytes of logs at OpenAI

Open House
How ClickHouse helps Anthropic scale observability

Open House, User stories
How Capital One cut infrastructure costs by 50%
Engineering leaders at Capital One share how they cut infrastructure costs by 50% and reduced average dashboard load time from 5+ to under 500ms with ClickHouse Cloud.