I am creating a lookup in BIMLscript to create an ssis package with a lookup. I am essentially just trying to demo the functionality of the lookup, so I am looking the table up against itself. When i create the package it seems to build fine. However when I open it in VS2013, i get a multitude of errors like the following:
Error 1 Validation error. char1: char1: The LKP_char1.Inputs[Extract_Output_LKP_char1].Columns[chr_1] has an invalid error or truncation row disposition. char.dtsx 0 0
char1 is the name of the table, LKP_char1 is the name of the lookup, and chr_1 is the name of the first column. Does anybody have any ideas of how to try and debug this.
I have my NoMatchBehavior attribute of my LookUp tag set to "IgnoreFailure"
<Dataflow Name="<#=table.SsisSafeName#>">
<Transformations>
<OleDbSource Name="Extract" ConnectionName="Source">
<DirectInput>SELECT * FROM <#=table.SchemaQualifiedName#>
</DirectInput>
</OleDbSource>
<Lookup Name="LKP_<#=table.Name#>"
NoMatchBehavior="IgnoreFailure"
OleDbConnectionName="Source">
<ExternalTableInput Table="<#=table.SchemaQualifiedName#>">
</ExternalTableInput>
<Inputs>
<# foreach (var column in table.Columns) { #>
<Column SourceColumn="<#=column.Name#>" TargetColumn="<#=column.Name#>" />
<# } #>
</Inputs>
<Outputs>
<# foreach (var column in table.Columns) { #>
<Column SourceColumn="<#=column.Name#>" TargetColumn="<#=column.Name#>" />
<# } #>
</Outputs>
</Lookup>
<# } #>
<OleDbDestination Name="Load" ConnectionName="Source" UseFastLoadIfAvailable="false">
<InputPath OutputPathName="LKP_<#=table.Name#>.Match" />
<ExternalTableOutput Table="<#=table.SchemaQualifiedName#>" />
</OleDbDestination>
</Transformations>
</Dataflow>