Add a sequential ID column to a Spark DataFrame. The Spark
zipWithIndex function is used to produce these. This differs from
sdf_with_unique_id in that the IDs generated are independent of
partitioning.
Add a sequential ID column to a Spark DataFrame. The Spark
zipWithIndex function is used to produce these. This differs from
sdf_with_unique_id in that the IDs generated are independent of
partitioning.