k you.
Himasha De Silva
.csv("J:\\csv_path\\T_EN");
Dataset mappedDataset = t_en_data
.map((MapFunction) row
->row.getAs("Duration"), Encoders.INT());
mappedDataset.show(false);
error - https://gist.github.com/anonymous/614a1746162dd12bb0b810add85deda2
Thanks
--
Himasha De Silva
Hi,
I'm new to spark. I'm trying to map a Dataset that read from csv files
into a Dataset.
But it gives some errors. Can anyone please help me to figure it out?
my code, csv file and error log attached here.
Thank you.
--
Himasha De Silva
Undergraduate,
Department of Computer E