Skip to content

LIMIT with boundary conditions in ClickHouse 26.9

Video Thumbnail

Mark Needham

ClickHouse 26.9 extends the LIMIT clause with boundary conditions that let you start and stop returning rows based on your data.

In this short demo, Mark Needham explores synthetic job logs to see what happened before an error and follow the recovery afterwards. Learn how to use UNTIL to stop before a matching row, AFTER to start with a matching row, and ALL to repeat the selection for subsequent matches. The demo also shows how to combine AFTER and UNTIL with a row-count limit.

Resources:

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: wLrTlU5LLWI

Releases

ClickHouse v26.9 Release Webinar

Alexey Milovidov

Follow us

XBlueskySlackGithubTelegramMeetupRSS