简体   繁体   English

更改 Azure 数据工厂中的 CSV 行

[英]Altering CSV Rows in Azure Data Factory

I've tried to use the 'Alter Rows' function within a Data Flow in Azure Data Factory to remove rows that match a condition from a CSV dataset.我尝试在 Azure 数据工厂的数据流中使用“更改行”function 从 CSV 数据集中删除与条件匹配的行。

The Data Preview shows that the rows matched will be deleted, however in the next step 'sink' it seems to ignore that and writes the original rows to the CSV file output.数据预览显示匹配的行将被删除,但是在下一步“接收”中它似乎忽略了这一点并将原始行写入 CSV 文件 output。

Is it not possible to use alter rows on a CSV dataset and if not, is there a work around?是否无法在 CSV 数据集上使用更改行,如果不能,是否有解决方法?

Firstly,use 'union' to migrate your csv files as source.首先,使用“union”将您的 csv 文件作为源迁移。

Then,use 'filter' to filter your data with date time stamps at source.然后,使用“过滤器”在源头过滤带有日期时间戳的数据。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM