I am stuck...
Is there a way to set the schema of an input and output objects using csv mapping file or table or global variables?
Tag as "solved" for others! Kudos to thanks!
Please take a look at tSetDynamicSchema component which sets a dynamic schema that can be reused by components in the subsequent subjob or subjobs to retrieve data from unknown columns.
Here is the related scenario:https://help.talend.com/reader/sKo4uqbrmujonWygOCuUuA/1NJaZNl5e3WPQd7I65gKOg
Let us know if it is what you are looking for.