Please let me know how to validate the csv file schema dynamically. Please let me know any one have implemented this in Talend open studio.
in a csv file
if you open and get the first line (column name)
you an count column (=3)
on a second time if you read a line like this one: e;f;g;h
there is something wrong.
a csv file (first level) is never invalid col1=e col2=f col3=g;h
you can add coma enclosure (CSV Options)
the same line can be wrong
"e";"f";"g";"h" --> ???
"e";"f";"g;h" --> ok
think about what is an invalid csv file?