Bug #4141
closedEML 2 Dataset breaks when data table has 2 columns with the same name
0%
Description
I am observing this problem with WoodyVCAtreesincirclea.txt in judithk.769.20, although this dataset requires authentication. One of the data tables has 2 columns that share the same name (Stem pattern). When executing, the EML 2 Dataset actor fails outright as As Row and As ColumnBased Record. Using As Field or As Column Vector, connecting the port Stem_pattern will also cause the actor to fail.
Updated by ben leinfelder over 15 years ago
This makes some sense: EML allows the names to be the same. A RecordToken cannot have two records with the same name...
Can we resolve this with some metadata cleanup/best practices?
Updated by Oliver Soong over 15 years ago
This has already been raised for the Kruger datasets. Isn't there already code to append actor names with a number? Can't this be inserted into the code for port names?
Updated by ben leinfelder over 15 years ago
Even with "As Field" and "As Column Vector" we only nd up with a single port for the Stem_pattern column (even though there are 2 in the EML/Datatable).
This looks like a bigger/deeper problem...
Updated by ben leinfelder over 15 years ago
appending "_n" for duplicate Attribute names.