Project

General

Profile

Actions

Bug #4141

closed

EML 2 Dataset breaks when data table has 2 columns with the same name

Added by Oliver Soong over 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
data access
Target version:
Start date:
06/09/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4141

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.

Actions #1

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?

Actions #2

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?

Actions #3

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...

Actions #4

Updated by ben leinfelder about 15 years ago

appending "_n" for duplicate Attribute names.

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4141

Actions

Also available in: Atom PDF