User Tools

Site Tools


spark_cookbook

Adding unique id to Dataframe

using this function

.toDF().withColumn("uid", monotonically_increasing_id)
spark_cookbook.txt · Last modified: 2019/02/14 10:45 by mantis