How can I create Dataset using StructType?
We can create a Dataset as follows:
case class Person(name: String, age: Int)
val personDS = Seq(Person("Max", 33), Person("Adam", 32), Person("Muller",
62)).toDS()
personDS.show()
Is there a way to create a Dataset without using a case class?
I'd like to create a DataFrame using a case class and using StructType.