Skip to content

Commit

Permalink
Reformat CloneIcebergSuite.scala
Browse files Browse the repository at this point in the history
Update the format of CloneIcebergSuite.scala, no behavior change

Closes delta-io#2348

GitOrigin-RevId: 17465607744544e229feb07077df5bedb6abf462
  • Loading branch information
xinzhao-db authored and andreaschat-db committed Jan 5, 2024
1 parent 567882d commit ab83957
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ trait CloneIcebergSuiteBase extends QueryTest
// Replace the partition field "date" with a transformed field "month(date)"
icebergTable.refresh()
icebergTable.updateSpec().removeField("date")
.addField(org.apache.iceberg.expressions.Expressions.month("date")).commit()
.addField(org.apache.iceberg.expressions.Expressions.month("date"))
.commit()

// Invalidate cache and load the updated partition spec
spark.sql(s"REFRESH TABLE $table")
Expand Down

0 comments on commit ab83957

Please sign in to comment.