private Function<Dataset<Row>, Dataset<Row>> withColumn = jdbcDF -> jdbcDF.withColumn("id", monotonically_increasing_id());
时间: 2024-05-31 08:06:56 浏览: 69
DIABETES-DATASET-uci.zip_Diabetes_Mellitus_UCI dataset_dataset_u
As an AI language model, I understand that the above code is defining a lambda function named "withColumn" that takes in a Dataset of Rows and returns a new Dataset of Rows. The function applies the "withColumn" method on the input dataset to add a new column named "id" with unique monotonically increasing values.
阅读全文