Open matentzn opened 1 year ago
I see:
csv_data_generalizer.py:
# TODO: deal with cases where the same slot is used in different classes
Sorry, missed this before
Yes, there should be two distinct enums, and different slot usages generated for each table
Environment:
Using
generalize-tsvs
, and multiple table have the same column name for entirely different meanings, schema automator seems to run with one of them. In my case, this is not actually a case of "different meaning", but different ValueSet:domain_id
column.domain_id
column.If schema automator happens upon 2 first, the enum in the model has only 5 domains.
Probably, the enum should be augment during the generalisation process? what if there is an
id
ortype
column that means something entirely different from table to table?