ПФ
Size: a a a
ПФ
GP
GP
GP
ПФ
GP
ПФ
GP
ПФ
ПФ
ПФ
ПФ
ПФ
GP
GP
GP
ПФ
AS
case class Person(name:String)
case class PersonWithAge(name: String, age: Int)
Seq(Person("a")).toDS().joinWith(Seq(PersonWithAge("b",3)), col("name"))
.select(_.2.col("age"))
.as[Int]
.show()
ПФ
GP