You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Himasha de Silva <hi...@gmail.com> on 2017/12/08 04:45:56 UTC
[Spark SQL]: Dataset can not map into Dataset in java
Hi,
I'm new to spark. I'm trying to map a Dataset<Row> that read from csv files
into a Dataset<Integer>.
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 Engineering,
University of Peradeniya.
Direct: +9477 552 4152 <+94%2077%20552%204152>
Email: himashasds@gmail.com