Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
enableSuite[GlutenMathExpressionsSuite]
// Spark round UT for round(3.1415,3) is not correct.
.exclude("round/bround/floor/ceil")
// ClickHouse's tanh differs from Spark's at the sixth significant digit:
// TANH(-0.1) returns -0.0996695958408681, the case expects -0.09966799462495582.
Comment on lines +1183 to +1184
.excludeCH("tanh")
.excludeCH("unhex")
.excludeCH("atan2")
Expand Down Expand Up @@ -2195,8 +2197,14 @@ class ClickHouseTestSettings extends BackendTestSettings {
.excludeCH("cast from timestamp II")
.excludeCH("cast a timestamp before the epoch 1970-01-01 00:00:00Z II")
.excludeCH("cast a timestamp before the epoch 1970-01-01 00:00:00Z")
// ClickHouse throws instead of yielding null: try_cast([123,true,f] as
// array<boolean>) fails with an exception.
.excludeCH("cast from array II")
// TRY-mode overflow inside a complex type wraps instead of yielding null on
// ClickHouse: try_cast([2.147483648E9] as array<int>) returns [-2147483648].
.excludeCH("cast from array III")
// Same as "cast from array III": try_cast([2.147483648E9] as struct<a:int>)
// returns [-2147483648] on ClickHouse.
.excludeCH("cast from struct III")
.excludeCH("ANSI mode: cast string to timestamp with parse error")
.excludeCH("ANSI mode: cast string to date with parse error")
Expand Down
Loading