The quick fix is to right-click the list of column provided by the CSV file input
to copy/paste it back and forth into Excel (or whatever).
If you also have 150 input files, the step which changes dynamically the column names (and other metadata like type) is called Metadata Injection
, Kettle doc. The Official doc gives details and examples.
Your specific case is covered in BizCubed. Download the sample near the end of the web page, unzip, load the ktr in PDI. You'll need to adapt the Fields
step in the MetaDataInjection
transformation. It is currently a DataGrid
that you may change by a Javascript
lowercase (or better a String operation
), after having kept the first line only of your CSV (read with header NOT present, include the rownumber and Filter
rownumber=1).