This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a change to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
from ae5ed0f7ab1 branch-4.0: [fix](sql function) Fix the unix_timestamp
return value type in Nereids #57424 (#57485)
add 88cc1d4f3ee branch-4.0: [Feature](func) Support function UTC_DATE &
UTC_TIME, and UTC_TIMESTAMP with precision #57347 (#57443)
No new revisions were added by this update.
Summary of changes:
.../function_date_or_datetime_computation.cpp | 7 ++-
.../function_date_or_datetime_computation.h | 48 ++++++++++++---
be/test/testutil/function_utils.cpp | 1 +
be/test/vec/function/function_time_test.cpp | 70 ++++++++++++++++++++++
.../scalar/{CurrentDate.java => UtcDate.java} | 22 +++----
.../scalar/{CurrentTime.java => UtcTime.java} | 62 ++++++++++---------
.../expressions/functions/scalar/UtcTimestamp.java | 41 ++++++++++++-
.../expressions/visitor/ScalarFunctionVisitor.java | 10 ++++
.../datetime_functions/test_date_function.groovy | 19 ++++++
9 files changed, 226 insertions(+), 54 deletions(-)
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/{CurrentDate.java
=> UtcDate.java} (86%)
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/{CurrentTime.java
=> UtcTime.java} (61%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]