Skip to content

Chaining functions in ClickHouse 26.10

Video Thumbnail

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 up

Related videos

YouTube Video: e-NnqMTY_3A

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.

YouTube Video: BsmTK-pa5ks

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.

Follow us

XBlueskySlackGithubTelegramMeetupRSS