我想知道如何在azure数据工厂中为多个子节点应用jsonNodeReference和jsonPathDefinition
示例json数据:
{
"success": true,
"profiles": [
{
"id": "123",
"data": [
{
"date": "2018-11-08T00:00:00",
"name": "sree",
"Quantity": "10"
},
{
"date": "2018-11-09T00:00:00",
"name": "sree",
"Quantity": "20"
}
]
},
{
"id": "154",
"data": [
{
"date": "2018-11-08T00:00:00",
"name": "Dhanu",
"Quantity": "25"
},
{
"date": "2018-11-09T00:00:00",
"name": "Dhanu",
"Quantity": "29"
}
]
}
]
}
我尝试使用“ jsonNodeReference”:“ $。['profiles']”和 输入数据集中的“ jsonNodeReference”:“ $。['profiles'] ['data']”
预期结果是
Success Id Date name Quantity
TRUE 123 2018-11-08T00:00:00 Sree 10
TRUE 123 2018-11-09T00:00:00 Sree 20
TRUE 154 2018-11-08T00:00:00 Dhanu 25
TRUE 154 2018-11-09T00:00:00 Dhanu 29