使用数据工厂从 cosmos db 作为源进行复制活动时出错

Error using data factory for copyactivity from cosmos db as source

为什么在数据工厂 v2 中使用 cosmos DB 作为副本 activity 中的源时总是出现此错误?

[6/26/2018 4:59:37 AM]   "errorCode": "2200",
[6/26/2018 4:59:37 AM]   "message": "ErrorCode=UserErrorFormatIsRequired,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Format setting is required for file based store(s) in this scenario.,Source=Microsoft.DataTransfer.ClientLibrary,'",
[6/26/2018 4:59:37 AM]   "failureType": "UserError",
[6/26/2018 4:59:37 AM]   "target": "CopyFromCosmosDB"

这个错误是什么意思?

这意味着您需要为接收器数据集指定格式。如果您想将其复制为 json 或 csv 或其他格式。您需要明确指定格式。您可以使用 ADF V2 UI 编写您的管道。