嗨@pascalvanbellen,沒有一顆的概念,PK, SK火花。但是磚δ自動照顧SCD類型的場景。https://docs.www.eheci.com/spark/latest/spark-sql/language-manual/merge-into.html slowly-changing-d……
如果你想彌補SK概念在火花,請閱讀我的博客。
https://hadoopist.wordpress.com/2016/05/24/generate-unique-ids-for-each-rows-in-a-spark-dataframe/