spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Himasha de Silva <>
Subject [Spark SQL]: Dataset<Row> can not map into Dataset<Integer> in java
Date Fri, 08 Dec 2017 04:45:56 GMT
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


Department of Computer Engineering,

University of Peradeniya.

Direct: +9477 552 4152 <+94%2077%20552%204152>


View raw message