This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 973fef4af7a branch-4.1: [fix](function) correct misleading aliases for
FunctionNextDay and FunctionPreviousDay #68528 (#68542)
973fef4af7a is described below
commit 973fef4af7ad3a8d660cf82da70a211baf9d6fb3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 28 18:52:01 2026 +0800
branch-4.1: [fix](function) correct misleading aliases for FunctionNextDay
and FunctionPreviousDay #68528 (#68542)
Cherry-picked from #68528
Co-authored-by: yy782 <[email protected]>
---
be/src/exprs/function/function_date_or_datetime_computation.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/exprs/function/function_date_or_datetime_computation.h
b/be/src/exprs/function/function_date_or_datetime_computation.h
index f20c544cb5e..279cc6b96e4 100644
--- a/be/src/exprs/function/function_date_or_datetime_computation.h
+++ b/be/src/exprs/function/function_date_or_datetime_computation.h
@@ -1617,8 +1617,8 @@ private:
}
};
-using FunctionNextDay = FunctionRelativeDay<true>;
-using FunctionPreviousDay = FunctionRelativeDay<false>;
+using FunctionNextDay = FunctionRelativeDay<false>;
+using FunctionPreviousDay = FunctionRelativeDay<true>;
class FunctionTime : public IFunction {
public:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]