Compare two Spark dataframes

前端 未结 5 1020
再見小時候
再見小時候 2020-12-13 15:38

Spark dataframe 1 -:

+------+-------+---------+----+---+-------+
|city  |product|date     |sale|exp|wastage|
+------+-------+---------+----+---+-------+
|cit         


        
5条回答
  •  無奈伤痛
    2020-12-13 16:33

    Using Spark different join types seems to be the key to computing Deletions, Additions, and Updates on rows.

    This question illustrates the different types of joins depending on what you are trying to achieve: What are the various join types in Spark?

提交回复
热议问题