I have a table with two columns, one is an id and the other a value. My value column contains 1488 characters. I have to split this column into multiple rows with 12 characters each. Example:
Dataframe:
ID Value
1 123456789987653ABCDEFGHI
Expected output:
ID Value
1 123456789987
1 653ABCDEFGHI
How can this be done in Spark?