How to add Surrogate key in dataframe to uniquely identity the records using Spark-Databricks

Similar Tracks
Ed Sheeran, Bruno Mars, Dua Lipa, Adele, Maroon 5, Rihanna, The Weeknd - Billboard Top 50 This Week
Dreamy Vibez Music
Pyspark Scenarios 8: How to add Sequence generated surrogate key as a column in dataframe. #pyspark
TechLake