Skip to content

Commit

Permalink
Remove condition
Browse files Browse the repository at this point in the history
  • Loading branch information
longvu-db committed Sep 17, 2024
1 parent 6ae1446 commit e34c92e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class DeltaCDCSQLSuite extends DeltaCDCSuiteBase with DeltaColumnMappingTestUtil
exception = intercept[AnalysisException] {
sql(s"SELECT * FROM table_changes('$tbl', 0, id)")
},
condition = "UNRESOLVED_COLUMN.WITHOUT_SUGGESTION",
"UNRESOLVED_COLUMN.WITHOUT_SUGGESTION",
parameters = Map("objectName" -> "`id`"),
queryContext = Array(ExpectedContext(
fragment = "id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class DeltaDataFrameWriterV2Suite
val e = intercept[DeltaAnalysisException](f)
checkError(
exception = e.getCause.asInstanceOf[DeltaAnalysisException],
condition = "DELTA_MERGE_INCOMPATIBLE_DATATYPE",
"DELTA_MERGE_INCOMPATIBLE_DATATYPE",
parameters = Map("currentDataType" -> "LongType", "updateDataType" -> "IntegerType"))
}
verifyNotImplicitCasting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ class DeltaDropColumnSuite extends QueryTest
exception = intercept[AnalysisException] {
sql(s"ALTER TABLE delta_test DROP COLUMN $field")
},
condition = "DELTA_UNSUPPORTED_DROP_NESTED_COLUMN_FROM_NON_STRUCT_TYPE",
"DELTA_UNSUPPORTED_DROP_NESTED_COLUMN_FROM_NON_STRUCT_TYPE",
parameters = Map(
"struct" -> "IntegerType"
)
Expand Down

0 comments on commit e34c92e

Please sign in to comment.