[英]Error code 2200 - “payload too large” on data factory copy job of json from Azure Blob to Azure Data Lake Gen2
[英]Copy JSON Array data from REST data factory to Azure Blob as is
我已經使用REST從API和包含數組的JSON輸出格式中獲取數據。 當我嘗試使用復制活動將JSON復制到BLOB時,我僅獲取第一個對象數據,其余的被忽略。
在文檔中說我們可以通過跳過數據集和復制活動的架構部分來照原樣復制JSON。 我遵循相同的方法,並且得到以下輸出。
https://docs.microsoft.com/zh-cn/azure/data-factory/connector-rest#export-json-response-as-is
嘗試了不使用模式的復制活動,使用標頭作為第一行並將文件輸出為.json和.txt到BLOB
REST輸出樣例:
{
"totalPages": 500,
"firstPage": true,
"lastPage": false,
"numberOfElements": 50,
"number": 0,
"totalElements": 636,
"columns": {
"dimension": {
"id": "variables/page",
"type": "string"
},
"columnIds": [
"0"
]
},
"rows": [
{
"itemId": "1234",
"value": "home",
"data": [
65
]
},
{
"itemId": "1235",
"value": "category",
"data": [
92
]
},
],
"summaryData": {
"totals": [
157
],
"col-max": [
123
],
"col-min": [
1
]
}
}
BLOB輸出如下所示:這只是第一個對象數據
totalPages,firstPage,lastPage,numberOfElements,number,totalElements
500,True,False,50,0,636
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.