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
CDC ClickPipes: The Fastest Way to Replicate Your Database to ClickHouse
Marta Paes, Senior Product Manager at ClickHouse

How to
Under-the-Hood: ClickHouse Incremental Materialized Views and Dictionaries
Maruthi Lokanathan, Solution Architect at ClickHouse Derek Chia, Principal TAM Architect at ClickHouse

ClickHouse Cloud, How to
LogHouse, Observability for ClickHouse Cloud
Get an insider’s look at LogHouse, the ClickHouse-powered logging platform that drives observability for ClickHouse Cloud.

ClickHouse, How to
Powering Feature Stores with ClickHouse
Mark Needham Principal Product Marketing Engineer, ClickHouse