我想离开联接Cassandra表,并尝试leftJoinWithCassandraTable(期望得到下推式)。我想做类似的事情:
some_dataframe
.rdd
.leftJoinWithCassandraTable("ks", "some_table")
.on(SomeColumns("col1", "col2"))
//.add new col here with (case when right_table.col1 is null then 0 else 1 end.
//.select some col from left table, and some col from right table
//.saveToCassandra
但是我不能使评论部分起作用。有人可以帮忙吗?
谢谢