Skip to content

Commit

Permalink
remove least and greatest function
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinyhZou committed Dec 2, 2024
1 parent 6d7824e commit 3c78fd5
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 86 deletions.
38 changes: 0 additions & 38 deletions cpp-ch/local-engine/Functions/SparkFunctionGreatest.cpp

This file was deleted.

38 changes: 0 additions & 38 deletions cpp-ch/local-engine/Functions/SparkFunctionLeast.cpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Unhex, unhex, unhex);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Hypot, hypot, hypot);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Sign, sign, sign);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Radians, radians, radians);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Greatest, greatest, sparkGreatest);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Least, least, sparkLeast);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Greatest, greatest, greatest);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Least, least, least);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Rand, rand, randCanonical);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Bin, bin, sparkBin);
REGISTER_COMMON_SCALAR_FUNCTION_PARSER(Rint, rint, sparkRint);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-17617: % (Remainder) double % double on super big double")
.exclude("Abs")
.exclude("pmod")
.exclude("function least")
.exclude("function greatest")
.exclude("SPARK-28322: IntegralDivide supports decimal type")
.exclude("SPARK-33008: division by zero on divide-like operations returns incorrect result")
.exclude("SPARK-34920: error class")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-17617: % (Remainder) double % double on super big double")
.exclude("Abs")
.exclude("pmod")
.exclude("function least")
.exclude("function greatest")
.exclude("SPARK-28322: IntegralDivide supports decimal type")
.exclude("SPARK-33008: division by zero on divide-like operations returns incorrect result")
.exclude("SPARK-34920: error class")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-17617: % (Remainder) double % double on super big double")
.exclude("Abs")
.exclude("pmod")
.exclude("function least")
.exclude("function greatest")
.exclude("SPARK-28322: IntegralDivide supports decimal type")
.exclude("SPARK-33008: division by zero on divide-like operations returns incorrect result")
.exclude("SPARK-34920: error class")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("SPARK-17617: % (Remainder) double % double on super big double")
.exclude("Abs")
.exclude("pmod")
.exclude("function least")
.exclude("function greatest")
.exclude("SPARK-28322: IntegralDivide supports decimal type")
.exclude("SPARK-33008: division by zero on divide-like operations returns incorrect result")
.exclude("SPARK-34920: error class")
Expand Down

0 comments on commit 3c78fd5

Please sign in to comment.