Informatica 错误 =[ERROR('转换错误')]
我收到以下 Informatica 错误:
注意:输出列 [AGENT_DISPOSTION_CODE] 没有默认值。如果遇到转换错误,行将被跳过 测绘> DBG_21056 列=[PHONE_NUMBER],默认值=[ERROR('转换错误')]
如何修复它?
I am getting the following Informatica error:
Note: Output column [AGENT_DISPOSTION_CODE] has no default value. Row will be skipped if transformation errors are encountered
MAPPING> DBG_21056 column=[PHONE_NUMBER], defaultvalue=[ERROR('transformation error')]
How can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这不是一个错误,它只是一个信息,表明您的端口的默认值设置为
ERROR('transformation error')
,因此集成服务将跳过带有ERROR< 的 NULL 值/代码> 功能。
当您添加新的输出端口时,Designer 会自动插入此表达式;你可以改变它。编辑表达式,在“端口”选项卡上找到端口,然后检查底部的“默认值”字段:
ERROR
函数会导致集成服务跳过一行并发出您定义的错误消息。It's not an error, it's only an information that you have a port with a default value set to
ERROR('transformation error')
, so Integration Service will skip the NULL values with anERROR
function.The Designer inserts this expression automatically, when you add a new output port; you can change it. Edit the expression, find the port on the Ports tab and check the Default value field at the bottom:
The
ERROR
function causes the Integration Service to skip a row and issue an error message, which you define.在详细数据模式下运行会话时,如果映射中没有为输出端口指定默认值,PowerCenter 会在会话日志中显示警告消息。
在列初始化期间,PowerCenter 评估为映射中的每个输出端口指定的默认值并显示相应的消息。评估代码路径与稍后在数据转换期间评估任何其他表达式的代码路径相同。
示例
如果将 SIN(1.415) 指定为输出端口的默认值,则对 sin(1.415) 的计算将成功执行。评估成功后,将显示以下消息:
但是,如果默认值为
error('transformation error')
,则会出现以下错误评估期间将显示消息,就像任何实际的转换错误一样:评估后,会话日志中将立即显示以下消息:
When running a session on the Verbose Data Mode and if there is no default value specified for output ports in the Mapping, PowerCenter is designed for the warning messages to show up in the session log.
During the column initialization, PowerCenter evaluates the default value specified for each output port in the Mapping and displays the corresponding message. The evaluation code path is the same as for evaluating any other expressions later on during data transformation.
Example
If you specify SIN(1.415) as the default value for an output port, the evaluation on sin(1.415) executes successfully. Upon a successful evaluation, the following message will be displayed:
However, if the default value is
error('transformation error')
, the following error message will be displayed during evaluation like any real transformation errors:Immediately after the evaluation, the following message will be displayed in the session log: