import org.apache.spark.sql.functions._
df.withColumn("id", monotonically_increasing_id)
Spark DataFrame 添加ID列
最新推荐文章于 2023-02-08 20:38:30 发布
import org.apache.spark.sql.functions._
df.withColumn("id", monotonically_increasing_id)