Skip to content

Commit

Permalink
Update spark/src/test/scala/org/apache/spark/sql/delta/IdentityColumn…
Browse files Browse the repository at this point in the history
…SyncSuite.scala

Co-authored-by: Thang Long Vu <107926660+longvu-db@users.noreply.github.com>
  • Loading branch information
zhipengmao-db and longvu-db committed Jul 31, 2024
1 parent 76bdbe2 commit a10780b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ trait IdentityColumnSyncSuiteBase
// Test empty table.
val oldSchema = DeltaLog.forTable(spark, TableIdentifier(tblName)).snapshot.schema
sql(s"ALTER TABLE $tblName $alterKeyword COLUMN id SYNC IDENTITY")
assert(DeltaLog.forTable(spark, TableIdentifier(tblName)).snapshot.schema == oldSchema)
assert(DeltaLog.forTable(spark, TableIdentifier(tblName)).snapshot.schema === oldSchema)

// Test a series of values that are not all following start and step configurations.
for (i <- start to (start + step * 10)) {
Expand Down

0 comments on commit a10780b

Please sign in to comment.