Flexible number of columns CSV Import

0
Hi,   I'm using the CSV importer to import a CSV file. Right now, when you have your non-persistent entity configured to have 10 columns, but the CSV file only has 9 columns, it will throw an error (ArrayIndexOutOfBoundsException).    In my case, I want just to import the data from a CSV that I have. This could be with a variable number of columns. The reason that it's not important to me in which attribute the columns are stored, is because in the system I will match the column header with a key, so I know what data is in each column.   How can I avoid this error and let the import continue?  
asked
0 answers