简体   繁体   English

Append 新行到 Azure blob 中的 csv 文件使用 Azure 数据工厂

[英]Append new rows to csv file in Azure blob using Azure Data Factory

I have a pipeline, which iterates through the query parameters of a REST API and I am using parameters to pass them in the relative URL. When I dont specify any file name in the sink, the pipeline creates new csv for each record and when I specify the file name, it is overwritten everytime.我有一个管道,它遍历 REST API 的查询参数,我使用参数将它们传递给相对的 URL。当我没有在接收器中指定任何文件名时,管道会为每条记录创建新的 csv,当我指定文件名,每次都会被覆盖。

Is there any way around this?有没有办法解决?

Appending rows to the existing file is currently not supported using the Azure data factory.目前不支持使用 Azure 数据工厂将行附加到现有文件。

You can raise a feature request from ADF portal feedback.您可以从 ADF 门户反馈中提出功能请求。

在此处输入图像描述

As a workaround,作为解决方法,

• You can copy data to different files each time. • 您可以每次将数据复制到不同的文件。

• Add another copy activity to merge all the files into a single file. • 添加另一个复制活动以将所有文件合并到一个文件中。

• Delete all other files generated initially except the final merged file using delete activity. • 使用删除活动删除最初生成的所有其他文件,但最终合并的文件除外。

Refer to this link for details on merging the files.有关合并文件的详细信息,请参阅此链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Azure数据工厂副本中使用Append Blob是否有任何解决方法? - Is there any workaround for using Append blob in Azure Data Factory copy? 如何使用Azure函数将数据附加到Azure Blob中的拼花文件 - How to append data to a parquet file in Azure blob using Azure function 是否可以使用Azure数据工厂在Azure Blob中生成CSV - Can Azure Data Factory be used to generate a CSV in an Azure Blob 如何在没有 Azure 数据工厂的情况下将 csv 文件从 blob 存储加载到 azure sql 数据库 - How to load csv file from blob storage to azure sql database without Azure Data Factory Azure 数据工厂将变量存储到 blob 中的文件 - Azure data factory store variable to file in blob Azure 数据工厂:如何在复制或导入期间重命名 Blob csv 或 Blob 存储中的文本文件? - Azure Data Factory: How to rename blob csv or text file in blob storage during copy or import? 更改 Azure 数据工厂中的 CSV 行 - Altering CSV Rows in Azure Data Factory 使用 azure 数据工厂根据 null 值过滤 csv 文件 - Filter csv file according to null values using azure data factory 使用Azure Data Factory V2将本地平面文件复制到Azure Blob - Copy On-Prem Flat file to Azure Blob using Azure Data Factory V2 使用 azure 数据工厂将多个 xml 文件合并到 csv 文件 - Merging multiple xml files to a csv file using azure Data Factory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM