From a5a832b48352a09331ce6f72a506a17e8d54d06c Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 8 Jan 2026 12:48:02 +0100 Subject: [PATCH] fix: add id to segments sorting key to avoid loosing parent segment information --- services/libs/tinybird/datasources/segments.datasource | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/libs/tinybird/datasources/segments.datasource b/services/libs/tinybird/datasources/segments.datasource index 504ada18e1..2ab59c9476 100644 --- a/services/libs/tinybird/datasources/segments.datasource +++ b/services/libs/tinybird/datasources/segments.datasource @@ -42,5 +42,5 @@ SCHEMA > ENGINE ReplacingMergeTree ENGINE_PARTITION_KEY toYear(createdAt) -ENGINE_SORTING_KEY slug +ENGINE_SORTING_KEY slug, id ENGINE_VER updatedAt