Chaining functions in ClickHouse 26.10
Mark Needham
Learn how to chain functions with the function composition operator (|), introduced in ClickHouse 26.10.
We use arrayMap to clean up product tags with lower | trim, then add replaceAll(_, ' ', '-') to replace spaces with hyphens. You'll also see how _1 and _2 work with multiple arrays, and use EXPLAIN SYNTAX to inspect the lambda ClickHouse generates during query analysis.
Read the function composition operator documentation.
Get started today
Interested in seeing how ClickHouse works on your data? Get started with ClickHouse Cloud in minutes and receive $300 in free credits.
Sign upRelated videos
View all Videos
How to
Inspect incoming data with INSERT … RETURNING in ClickHouse
Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.

How to
Reading and writing Vortex files with ClickHouse (26.11)
Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.
