Skip to content

Commit 8004bf8

Browse files
committed
fix
1 parent 955b7a6 commit 8004bf8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

tinybird/datasources/gitlab_merge_request.datasource

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ SCHEMA >
1414
`object_attributes` JSON `json:$.object_attributes`,
1515
`repository_name` String `json:$.repository.name`,
1616
`repository` JSON `json:$.repository`,
17-
`assignees` Array(JSON) `json:$.assignees` DEFAULT '[]',
17+
`assignees` Array(JSON) `json:$.assignees[:]` DEFAULT '[]',
1818
`assignee` JSON `json:$.assignee` DEFAULT '{}',
19-
`labels` Array(JSON) `json:$.labels` DEFAULT '[]',
19+
`labels` Array(JSON) `json:$.labels[:]` DEFAULT '[]',
2020
`changes` JSON `json:$.changes` DEFAULT '{}',
21-
`reviewers` Array(JSON) `json:$.reviewers` DEFAULT '[]'
21+
`reviewers` Array(JSON) `json:$.reviewers[:]` DEFAULT '[]'
2222

2323

2424
ENGINE "MergeTree"

tinybird/datasources/gitlab_pipeline.datasource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SCHEMA >
1414
`project` JSON `json:$.project`,
1515
`commit` JSON `json:$.commit` DEFAULT '{}',
1616
`source_pipeline` JSON `json:$.source_pipeline` DEFAULT '{}',
17-
`builds` Array(JSON) `json:$.builds` DEFAULT '[]'
17+
`builds` Array(JSON) `json:$.builds[:]` DEFAULT '[]'
1818

1919
ENGINE "MergeTree"
2020
ENGINE_SORTING_KEY "project_id, user_id, source_pipeline"

tinybird/datasources/gitlab_push.datasource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SCHEMA >
2121
`project` JSON `json:$.project` DEFAULT '{}',
2222
`repository_name` String `json:$.repository.name`,
2323
`repository` JSON `json:$.repository` DEFAULT '{}',
24-
`commits` Array(JSON) `json:$.commits` DEFAULT '[]',
24+
`commits` Array(JSON) `json:$.commits[:]` DEFAULT '[]',
2525
`total_commits_count` Int64 `json:$.total_commits_count`
2626

2727
ENGINE "MergeTree"

tinybird/datasources/gitlab_work_item.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ SCHEMA >
1414
`object_attributes` JSON `json:$.object_attributes`,
1515
`repository_name` String `json:$.repository.name`,
1616
`repository` JSON `json:$.repository`,
17-
`assignees` Array(JSON) `json:$.assignees` DEFAULT '[]',
17+
`assignees` Array(JSON) `json:$.assignees[:]` DEFAULT '[]',
1818
`assignee` JSON `json:$.assignee` DEFAULT '{}',
19-
`labels` Array(JSON) `json:$.labels` DEFAULT '[]',
19+
`labels` Array(JSON) `json:$.labels[:]` DEFAULT '[]',
2020
`changes` JSON `json:$.changes` DEFAULT '{}'
2121

2222
ENGINE "MergeTree"

0 commit comments

Comments
 (0)