Skip to content

Commit 314f0c4

Browse files
committed
fix
1 parent 0e6a1ca commit 314f0c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tinybird/datasources/gitlab_pipeline.datasource

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ TAGS "gitlab"
77
SCHEMA >
88
`object_kind` String `json:$.object_kind`,
99
`object_attributes` JSON `json:$.object_attributes`,
10-
`merge_request` JSON `json:$.merge_request` DEFAULT '{}',
10+
`merge_request` String `json:$.merge_request` DEFAULT '',
1111
`user_id` UInt32 `json:$.user.id`,
1212
`user` JSON `json:$.user`,
1313
`project_id` UInt32 `json:$.project.id`,
1414
`project` JSON `json:$.project`,
1515
`commit` JSON `json:$.commit` DEFAULT '{}',
1616
`pipeline_id` UInt32 `json:$.source_pipeline.pipeline_id`,
17-
`source_pipeline` JSON `json:$.source_pipeline` DEFAULT '{}',
17+
`source_pipeline` String `json:$.source_pipeline` DEFAULT '',
1818
`builds` Array(JSON) `json:$.builds[:]` DEFAULT '[]'
1919

2020
ENGINE "MergeTree"

tinybird/datasources/gitlab_work_item.datasource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SCHEMA >
1515
`repository_name` String `json:$.repository.name`,
1616
`repository` JSON `json:$.repository`,
1717
`assignees` Array(JSON) `json:$.assignees[:]` DEFAULT '[]',
18-
`assignee` JSON `json:$.assignee` DEFAULT '{}',
18+
`assignee` String `json:$.assignee` DEFAULT '',
1919
`labels` Array(JSON) `json:$.labels[:]` DEFAULT '[]',
2020
`changes` JSON `json:$.changes` DEFAULT '{}'
2121

0 commit comments

Comments
 (0)