Spark – How to create an empty Dataset?

In this article, I will explain how to create an empty Spark Dataset with or without schema (emptyDataset()) by using several Scala examples. Before we start, I have explained one of the many scenarios where we need to create an empty Dataset. While working with files in Spark, sometimes we…

Continue Reading Spark – How to create an empty Dataset?