DZ
Size: a a a
DZ
СХ
DZ
GP
DY
DY
DY
ПФ
ПФ
ПФ
GP
GP
ПФ
ПФ
ПФ
ПФ
ПФ
GP
type Table1
type Table2
case class Joined(fst: Table1, snd: Option[Table2])
val table1 = ???
val table2 = ???
val joined = table1.joinLeft(table2) { table1('key) === table2('key) }
joined.as[Joined]
ПФ
val table1 = ???
val table2 = ???
val joined = table1.joinLeft(table2) { table1('key) === table2('key) }
joined.select(table1('col),table2('col))