简体   繁体   English

Datafactory V2用空格替换“\\ N”空值

[英]Datafactory V2 Replace “\N” null value with blank

Presently within Azure Datafactory V2, the default null value for flat file output is set as "\\N", which causes the downstream processes to fail as datafactroy is creating flat files with a float, int or decimal value set to "\\N". 目前在Azure Datafactory V2中,平面文件输出的默认空值设置为“\\ N”,这会导致下游进程失败,因为datafactroy正在创建float,int或decimal值设置为“\\ N”的平面文件。

Within the advanced features of the datafactory datasets, we can set the null value to a certain character: 在datafactory数据集的高级功能中,我们可以将null值设置为某个字符:

在此输入图像描述

What value can I set this to so as to permit simply an empty space instead of a " ", blank space or other character that would cause issues? 我可以设置什么值以便只允许空格而不是“”空格或其他可能导致问题的字符?

Just remove \\N and leave that input box empty will achieve this. 只需删除\\ N并将该输入框留空将实现此目的。

You could also click the code button (right top conner of the following screen shot) in the UI to see the json payload of the dataset. 您还可以在UI中单击代码按钮(以下屏幕截图的右上角)以查看数据集的json有效内容。

在此输入图像描述

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

相关问题 如何将Azure DataFactory(v2)作业迁移到另一个DataFactory(2) - How to Migrate Azure DataFactory(v2) Job to another DataFactory(2) 启动Azure Datafactory(v2)触发器 - Start Azure Datafactory (v2) Trigger Azure datafactory v2 使用 For Each 执行管道 - Azure datafactory v2 Execute Pipeline with For Each Azure Function V2 值不能为空 - Azure Function V2 Value cannot be null 通过 Azure Datafactory V2 将简单的 Json 导入 Sql 表 - Import Simple Json into Sql table via Azure Datafactory V2 具有集成运行时的Azure DataFactory v2链接服务 - Azure DataFactory v2 Linked Service with Integration Runtime "如何在 datafactory v2 中导出管道或迁移到另一个" - how to export pipeline in datafactory v2 or migrate to another 以编程方式访问 Azure 数据工厂 V2:未找到资源组下的资源 Microsoft.DataFactory/dataFactories/ - Access Azure Data Factory V2 programmatically: The Resource Microsoft.DataFactory/dataFactories/ under resource group was not found Azure Datafactory V2 - IfCondition 活动不能包含另一个 IfCondition 活动 - Azure Datafactory V2 - IfCondition activity cannot include another IfCondition activity 在天蓝色功能V2中用ILogger替换TraceWriter - Replace TraceWriter With ILogger in azure function V2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM