[英]Convert JSON to CSV in Azure Cosmos DB or Azure Blob
I need to move JSON data in Azure Cosmos DB to Azure Blob and eventually need data to be in CSV format. 我需要将Azure Cosmos DB中的JSON数据移动到Azure Blob,最终需要将数据转换为CSV格式。
Found out there's a feature that converts CSV data to JSON but can't find the other way around.. 发现有一个功能可以将CSV数据转换为JSON,但找不到其他方法。
It really doesn't matter where I convert data from JSON to CSV, either in Azure Cosmos DB or in Azure Blob. 在Azure Cosmos DB或Azure Blob中,将数据从JSON转换为CSV的位置实际上都没有关系。 How could I do this?
我该怎么办? Thanks!
谢谢!
您可以使用Azure Cosmos DB: Data migration tool
,该Azure Cosmos DB: Data migration tool
支持从Azure Cosmos DB导出到JSON
Based on you requirements, I think Azure Data Factory is your perfect option. 根据您的要求,我认为Azure数据工厂是您的理想选择。
You could follow this tutorial to configure Cosmos DB Output and Azure Blob Storage Input. 您可以按照本教程配置Cosmos DB输出和Azure Blob存储输入。
Input: 输入:
Output: 输出:
Then use Copy Pipelines to process data. 然后使用复制管道来处理数据。
Copy Pipelines: 复制管道:
Result: 结果:
Hope it helps you. 希望对您有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.