问题描述
我需要将Azure Cosmos DB中的JSON数据移动到Azure Blob,最终需要将数据转换为CSV格式.
I need to move JSON data in Azure Cosmos DB to Azure Blob and eventually need data to be in CSV format.
发现有一个功能可以将CSV数据转换为JSON,但找不到其他方法.
Found out there's a feature that converts CSV data to JSON but can't find the other way around..
在Azure Cosmos DB或Azure Blob中将数据从JSON转换为CSV的位置实际上并不重要.我该怎么办?谢谢!
It really doesn't matter where I convert data from JSON to CSV, either in Azure Cosmos DB or in Azure Blob. How could I do this? Thanks!
推荐答案
根据您的要求,我认为 Azure数据工厂是您的理想选择.
Based on you requirements, I think Azure Data Factory is your perfect option.
您可以遵循以下教程配置Cosmos DB输出和Azure Blob存储输入.
You could follow this tutorial to configure Cosmos DB Output and Azure Blob Storage Input.
输入:
Input:
输出:
Output:
然后使用复制管道来处理数据.
Then use Copy Pipelines to process data.
复制管道:
Copy Pipelines:
结果:
Result:
希望它对您有帮助.
这篇关于在Azure Cosmos DB或Azure Blob中将JSON转换为CSV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!