I am loading fixed width file from unix box to spark dataset that contains ^M characters in records. Hence while splitting records based on schema it is failing because of ^