Support Questions
Find answers, ask questions, and share your expertise

Scala dataframe need to read only 1060 character for row level record

Scala dataframe need to read only 1060 character for row level record

New Contributor

Hi All,

in scala dataframe ,I want to read row level total record size till maximum 1060 byte. as SQL table have also max length of record as 1060.do we have function which we can apply on scala data frame to read the file row level record only till 1060 character and extra record can be skip. Please suggest

1 REPLY 1

Re: Scala dataframe need to read only 1060 character for row level record

New Contributor

sorry it's max 8060 characters needs to be read from each row of file records