Pyspark SCD2 References https://towardsdatascience.com/slowly-changing-dimension-type-2-in-spark-7d5865ac915b Mastering Slowly Changing Dimensions (SCD) Pythonic Way in Data Warehousing with PySpark and Delta Lake