Skip to content

Commit

Permalink
style error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhipengmao-db committed Jul 31, 2024
1 parent 9c9a352 commit 0b0500e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ trait IdentityColumnSyncSuiteBase
val ex = intercept[AnalysisException] {
sql(s"ALTER TABLE $tblName ALTER COLUMN id SYNC IDENTITY")
}
assert(ex.getMessage.contains("ALTER TABLE ALTER COLUMN SYNC IDENTITY is only supported by Delta."))
assert(ex.getMessage.contains(
"ALTER TABLE ALTER COLUMN SYNC IDENTITY is only supported by Delta."))
}
}

Expand All @@ -237,7 +238,8 @@ trait IdentityColumnSyncSuiteBase
val ex = intercept[AnalysisException] {
sql(s"ALTER TABLE $tblName ALTER COLUMN id SYNC IDENTITY")
}
assert(ex.getMessage.contains("ALTER TABLE ALTER COLUMN SYNC IDENTITY cannot be called on non IDENTITY columns."))
assert(ex.getMessage.contains(
"ALTER TABLE ALTER COLUMN SYNC IDENTITY cannot be called on non IDENTITY columns."))
}
}
}
Expand Down

0 comments on commit 0b0500e

Please sign in to comment.