I have created a script component (i.e., data flow) that is of the source variety. How do I create an error output that captures both the errorColumnName
and errorDescription
?
The only implementation of creating an error output for a script component that I have found assumes that the component is a transformation. The key difference between the two, at least from what I can tell, is that the transformation has access to the Process_Input(Row), whereas the source component is creating a row, therefor Process_Input and its Row member are not available.
- Microsoft docs - Enhancing an Error Output with the Script Component
- TechNet - Enhancing an Error Output with the Script Component
Context: The source component fails on certain columns that are string types with an error that they exceed the buffer. But, no information is provided with respect to either the error column name or the error value. I can identify the error column(s) by sending the data to a flat file output, but I would prefer not to have to do it this way.