DataCleaner icon indicating copy to clipboard operation
DataCleaner copied to clipboard

Custom column names on (xml) datastore.

Open markansink opened this issue 8 years ago • 3 comments

For a customer of us I'm using DataCleaner to parse a huge XML file. In the conf.xml I specified all the relevant XPATH's which works quite nice and the performance is also very good.

However I can't specify the name of the actual column. DataCleaner uses the XPATH to resolve the columnname, but when using @ in the path or refering to an other 'table' with the index(path) function the column names are hard to read.

I would like to have the ability to give a custom/functional name to the column, so it's easier to use.

markansink avatar May 17 '16 18:05 markansink

One follow-up question: Would you like this "column naming" saved in the individual job, or at the datastore level? (Or both? But please prioritize in that case)

kaspersorensen avatar May 17 '16 19:05 kaspersorensen

I would like to save/config this on the datastore level, so every job uses the same names.Also the xpath is stored/configured on the datastore level, so it makes sence to set the name also on this level.

markansink avatar May 18 '16 07:05 markansink

Isn't this mostly a matter of getting the custom-naming support into MetaModel, like we're doing for some datastore types already? If we could somehow generalize that, we could start tapping into it from DC.

Regarding the datastore/job part, as we'll soon try to make jobs more uncoupled from the datastores, there probably will be an alias in jobs (which will of course take precedence)

LosD avatar May 18 '16 10:05 LosD