SSIS - NoMatchBehavior Error fail Component

在SSIS中,使用lookup transformation时候,如果将“NoMatchBehavior"设置成为”Treat rows with no matching entries as errors.“,那么会导致使得整个task fail的情况,如果将这个属性设置为”Send rows with no matching entries to the no match output.“则不会导致task失败。


举例:


[Lookup [1]] Error: Row yielded no match during lookup.

[Lookup [1]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "Lookup" (1)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Match Output" (3)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Lookup" (1) failed with error code 0xC0209029 while processing input "Lookup Input" (2). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

在"Lookup Transformation Editor"中,设置”specify how to handle rows with no matching entries"为"redirect rows to no match output"等同于将“NoMatchBehavior"设置为”Send rows with no matching entries to the no match output.“;如果将”specify how to handle rows with no matching entries"为”fail component",那等同于将“NoMatchBehavior"设置成为”Treat rows with no matching entries as errors.“,那么会导致使得整个task fail。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dbLenis

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值