DZone

In this blog, we will learn the advantages that the dataset API in Spark 2.0 has over the DataFrame API.

DataFrame is weakly typed and developers don’t get the benefits of the type system. That’s why the Dataset APIwas introduced in Spark 2.0. To understand this, consider the following scenario.

Source: DZone