Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Nov 7, 2023
1 parent 83d8de6 commit 093c33f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ class GlutenClickHouseTPCHParquetSuite extends GlutenClickHouseTPCHAbstractSuite
}
}

ignore("test 'cast null value' -- due to https://github.com/ClickHouse/ClickHouse/pull/55146") {
test("test 'cast null value'") {
val sql = "select cast(x as double), cast(x as float), cast(x as string), cast(x as binary)," +
"cast(x as long), cast(x as int), cast(x as short), cast(x as byte), cast(x as boolean)," +
"cast(x as date), cast(x as timestamp), cast(x as decimal(10, 2)) from " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-34727: cast from float II")
.exclude("SPARK-35720: cast invalid string input to timestamp without time zone")
.exclude("Cast should output null for invalid strings when ANSI is not enabled.")
.exclude("data type casting II")
.exclude("SPARK-36286: invalid string cast to timestamp")
enableSuite[GlutenCastSuiteWithAnsiModeOn]
.exclude("null cast")
.exclude("cast string to date")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-36924: Cast YearMonthIntervalType to IntegralType")
.exclude("SPARK-36924: Cast IntegralType to YearMonthIntervalType")
.exclude("Cast should output null for invalid strings when ANSI is not enabled.")
.exclude("data type casting II")
.exclude("SPARK-36286: invalid string cast to timestamp")
enableSuite[GlutenCastSuiteWithAnsiModeOn]
.exclude("null cast")
.exclude("cast string to date")
Expand Down

0 comments on commit 093c33f

Please sign in to comment.