Skip to content

Commit 8fd7965

Browse files
committed
fix
1 parent 8004bf8 commit 8fd7965

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tinybird/datasources/gitlab_pipeline.datasource

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ SCHEMA >
1313
`project_id` String `json:$.project.id`,
1414
`project` JSON `json:$.project`,
1515
`commit` JSON `json:$.commit` DEFAULT '{}',
16+
`pipeline_id` String `json:$.source_pipeline.pipeline_id`,
1617
`source_pipeline` JSON `json:$.source_pipeline` DEFAULT '{}',
1718
`builds` Array(JSON) `json:$.builds[:]` DEFAULT '[]'
1819

1920
ENGINE "MergeTree"
20-
ENGINE_SORTING_KEY "project_id, user_id, source_pipeline"
21+
ENGINE_SORTING_KEY "project_id, pipeline_id, user_id"

0 commit comments

Comments
 (0)