I want to remove the trailing whitespaces from CSV file.
Sample CSV file Data:(Delimitor=";")
X ;Y;Z
X1 ; Y1;Z1
X2;Y2; Z2
I would have gone for something like SED or GREP but the file size is huge so it may impact the performance because of preprocessing.
I am looking for a way to remove these whites spaces at the time of loading only.