This is an automated email from the ASF dual-hosted git repository.
mingliang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 43057aee16 [CH] Change the expression name timestamp_add to
timestampadd (#10198)
43057aee16 is described below
commit 43057aee166490a636e646091b7de690dec89f34
Author: Mingliang Zhu <[email protected]>
AuthorDate: Wed Jul 23 09:29:48 2025 +0800
[CH] Change the expression name timestamp_add to timestampadd (#10198)
---
cpp-ch/local-engine/Parser/scalar_function_parser/timestampAdd.cpp | 2 +-
.../src/main/scala/org/apache/gluten/expression/ExpressionNames.scala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp-ch/local-engine/Parser/scalar_function_parser/timestampAdd.cpp
b/cpp-ch/local-engine/Parser/scalar_function_parser/timestampAdd.cpp
index caf6777f88..bc75fd54b2 100644
--- a/cpp-ch/local-engine/Parser/scalar_function_parser/timestampAdd.cpp
+++ b/cpp-ch/local-engine/Parser/scalar_function_parser/timestampAdd.cpp
@@ -39,7 +39,7 @@ public:
explicit FunctionParserTimestampAdd(ParserContextPtr parser_context_) :
FunctionParser(parser_context_) { }
~FunctionParserTimestampAdd() override = default;
- static constexpr auto name = "timestamp_add";
+ static constexpr auto name = "timestampadd";
String getName() const override { return name; }
String getCHFunctionName(const substrait::Expression_ScalarFunction &)
const override { return "timestamp_add"; }
diff --git
a/shims/common/src/main/scala/org/apache/gluten/expression/ExpressionNames.scala
b/shims/common/src/main/scala/org/apache/gluten/expression/ExpressionNames.scala
index 18d2856ca1..c5b3d95ea2 100644
---
a/shims/common/src/main/scala/org/apache/gluten/expression/ExpressionNames.scala
+++
b/shims/common/src/main/scala/org/apache/gluten/expression/ExpressionNames.scala
@@ -217,7 +217,7 @@ object ExpressionNames {
final val TRUNC = "trunc"
final val DATE_TRUNC = "date_trunc"
final val GET_TIMESTAMP = "get_timestamp" // for function:
to_date/to_timestamp
- final val TIMESTAMP_ADD = "timestamp_add"
+ final val TIMESTAMP_ADD = "timestampadd"
final val NEXT_DAY = "next_day"
final val LAST_DAY = "last_day"
final val MONTHS_BETWEEN = "months_between"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]