Tinybird rebuilt their Time Series feature from scratch, translating user selections into SQL queries that handle ClickHouse-specific challenges. The implementation addresses time gap filling with arrayJoin and full outer joins, timestamp alignment using toStartOfInterval, and adaptive granularity based on time ranges. The

6m read timeFrom tinybird.co
Post cover image
Table of contents
The ArchitectureThe SQL ChallengeUI PolishObservability IntegrationWhen the Alert FiresTry It

Sort: