Skip to content

Commit 8b79329

Browse files
authored
fix: add id to segments SK to avoid loosing parent segment information (#3737)
Signed-off-by: anil <epipav@gmail.com>
1 parent e10de7b commit 8b79329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/libs/tinybird/datasources/segments.datasource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ SCHEMA >
4242

4343
ENGINE ReplacingMergeTree
4444
ENGINE_PARTITION_KEY toYear(createdAt)
45-
ENGINE_SORTING_KEY slug
45+
ENGINE_SORTING_KEY slug, id
4646
ENGINE_VER updatedAt

0 commit comments

Comments
 (0)