add a column to your dataframe with an auto-increment integer value
1 | val oracleTableDF2 = oracleTableDF.withColumn("SeqNum", monotonically_increasing_id()) |
add a column to your dataframe with an auto-increment integer value
1 | val oracleTableDF2 = oracleTableDF.withColumn("SeqNum", monotonically_increasing_id()) |