How to write word count using Dataset API?

Viewed 1283

I need to write a word count logic with using spark dataset alone.

I implemented the same using JavaRDD class of spark, but I want to done the same process by using Dataset<Row> class of Spark SQL.

How to do word count in Spark SQL?

1 Answers
Related