The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Nominal and polynominal attributes
Hello everybody,
I want to join two example sets through an attribute holding a certain file name. My problem is that one attribute was automatically generated as meta-data from the "Process Documents" operator (type "Polynominal" was assigned) and the second one is read from an Excel file and is of type "Nominal". In both example sets those attributes are set as id, but when trying to join ("Join" operator) it leads to an error:
Message: The attribute metadata_file has value type polynominal, should be nominal.
There is no operator to convert one type into the other one. Is there a clean and simple way to manage the join with these attributes or do I need to do some silly things like copying the value of the polynominal attribute into a new one with type "Nominal"?
I want to join two example sets through an attribute holding a certain file name. My problem is that one attribute was automatically generated as meta-data from the "Process Documents" operator (type "Polynominal" was assigned) and the second one is read from an Excel file and is of type "Nominal". In both example sets those attributes are set as id, but when trying to join ("Join" operator) it leads to an error:
Message: The attribute metadata_file has value type polynominal, should be nominal.
There is no operator to convert one type into the other one. Is there a clean and simple way to manage the join with these attributes or do I need to do some silly things like copying the value of the polynominal attribute into a new one with type "Nominal"?
0
Answers
Without the XML it is difficult to be that helpful; I know you want to join on a specified attribute, but you can always get brutal.... If both rowsets are in the correct order you could just add an ID attribute to both, and use that to join on; alternatively things might work if you set the role of that attribute metadata_file to ID, like this... Having text as an Id rather depends on non-duplication I guess, but you get the drift - put up landing lights to make the join easy..
Have fun..