This is an automated email from the ASF dual-hosted git repository.
morningman pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from 62a647a156d [refactor](pipeline) Re-construct ownership of pipeline
components (#49753)
add 68cd7bd9bb5 [features](function) impl months_between (#49122)
No new revisions were added by this update.
Summary of changes:
.../function_date_or_datetime_computation.cpp | 1 +
.../function_date_or_datetime_computation.h | 111 ++++++++++++++++
be/test/vec/function/function_time_test.cpp | 22 +++
.../doris/catalog/BuiltinScalarFunctions.java | 2 +
.../executable/DateTimeExtractAndTransform.java | 27 ++++
.../{MicroSecondsDiff.java => MonthsBetween.java} | 52 ++++----
.../expressions/visitor/ScalarFunctionVisitor.java | 5 +
.../nereids/rules/expression/FoldConstantTest.java | 16 +++
.../string_functions/test_months_between.out | Bin 0 -> 4763 bytes
.../fold_constant_date_arithmatic.groovy | 23 ++++
.../string_functions/test_months_between.groovy | 147 +++++++++++++++++++++
11 files changed, 381 insertions(+), 25 deletions(-)
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/{MicroSecondsDiff.java
=> MonthsBetween.java} (57%)
create mode 100644
regression-test/data/query_p0/sql_functions/string_functions/test_months_between.out
create mode 100644
regression-test/suites/query_p0/sql_functions/string_functions/test_months_between.groovy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]