Hi,
I am having a csv file with comma separator. But the problem is that there are few rows which have comma within upper quotes, i.e. comma within a field. And so pentaho parses these rows with those commas as well, as separate field.
Let following be the sample csv file. First line is the header line.
name, title, age, degree, college
john,fork,23,btech,abcd
rita,saha,21,ba,dvdf
reme,singha,34,"btech,ba,msc",abcd
seema,tupi,56,"b.ed,phD,mphil,ma-music","ju,cu"
Any suggestion as how to parse the above file??
Thanks in advance for your support.
I am having a csv file with comma separator. But the problem is that there are few rows which have comma within upper quotes, i.e. comma within a field. And so pentaho parses these rows with those commas as well, as separate field.
Let following be the sample csv file. First line is the header line.
name, title, age, degree, college
john,fork,23,btech,abcd
rita,saha,21,ba,dvdf
reme,singha,34,"btech,ba,msc",abcd
seema,tupi,56,"b.ed,phD,mphil,ma-music","ju,cu"
Any suggestion as how to parse the above file??
Thanks in advance for your support.