Hello, I try to make a pipeline s3 in json format, when start pipeline I join the first element in a single row, when 3 rows should appear with null
CREATE PIPELINE tst
AS LOAD DATA S3 ‘bucket/test/’
CONFIG ‘{“region”: “us-west-2”}’
CREDENTIALS ‘{“aws_access_key_id”: “”, “aws_secret_access_key”: “”}’
INTO TABLE tst
FORMAT JSON
(
project ← projects::project_name DEFAULT NULL,
title ← projects::elements::title DEFAULT NULL,
url ← projects::elements::url DEFAULT NULL,
closedAt ← projects::elements::closedAt DEFAULT NULL,
state ← projects::elements::state DEFAULT NULL,
createdAt ← projects::elements::createdAt DEFAULT NULL
)
JSON:
{“projects”:[
{
“project_name”:“candys”,
“elements”:
[]
},
{
“project_name”:“R12”,
“elements”:[
{
“title”:“Fixes profile”,
“url”:“BlaBla · GitHub”,
“closedAt”:“2019-07-11T18:38:15Z”,
“state”:“MERGED”,
“createdAt”:“2019-07-11T18:35:22Z”},
{
“title”:“Fix part2”,
“url”:“BlaBla · GitHub”,
“closedAt”:“2019-07-11T21:46:19Z”,
“state”:“MERGED”,
“createdAt”:“2019-07-11T21:44:29Z”}]},
{
“project_name”:“ProxyService”,
“elements”:[]
}
]
}
THX