簡體   English   中英

Azure data factory - output for copy function does not give all the rows within nested json api reponse

[英]Azure data factory - output for copy function does not give all the rows within nested json api reponse

I have a nested json API response which is requested using azure data factory and trying to store it in the Azure sql database. 使用數據工廠的復制數據 function 后,它只給出初始行而不是整個結果。

響應json響應 -

資源資源

下沉下沉

映射映射

Output 輸出

output 一直只顯示每個站點的第一行,而每個“站點ID”下有許多“日期”、“值”列。 我無法獲取所有“日期”、“值”列?

復制活動對 JSON 文件有一些限制。 您無法讀取 JSON 數組中的多個值,它只能讀取單個數組值。

有沒有替代方法?

是的,您可以使用數據流,沒有數組限制。

請按照以下步驟操作:

資源:

在此處輸入圖像描述

展平

可以添加多個Json數組+Add mapping

參考1

下沉

參考1

Output:

在此處輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM