Dynamic mapping based on input schema

Two Stars

Dynamic mapping based on input schema

Hi,

I have a scenario here, the mapping should be done automatically based on input schema. for example let us consider two scenarios. if the input file consists of 5 columns then a particular mapping should be done and if the input file consists of 8 columns then a different mapping should be done. Here only one job should be designed, based on the input template the mapping has to be changed. The input may be any delimited file and the output should be xml. so should i have to use tjava component and have to write conditions in it or how to do it?

can anyone suggest me?

Moderator

Re: Dynamic mapping based on input schema

Hello,

Could you please elaborate your case with an example with input and expected output values?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.