flatfile schema - unknown num of fileds


Is it possible to build a flatfile schema that parse unknown number of fields?

This is my file:

…and it might go on with more comma separated fields, do I need to know how many in order to build the schema, I like to read them to the end of record?


I think you can trap those unparsed fields that convertToValues outputs as UnDef fields and then you can make a loop of those or make string of it to analyze the ffSchema that you can build out of it.

Just a rough thought.