GP
Size: a a a
GP
ПФ
ПФ
GP
GP
GP
GP
GP
AS
GP
GP
GP
ПФ
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
ПФ
ПФ
K
ПФ
K
ПФ