This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch auto-pick-57253-branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


    from d8663df4249 branch-4.0: [fix](inverted index) Fix skipping data reads 
for columns when index is hit #57461 (#57476)
     add 41515e1ada5 [feature](function) The date_add function supports 
DAY_SECOND as interval type (#57253)

No new revisions were added by this update.

Summary of changes:
 .../function_date_or_datetime_computation.h        | 175 +++++++++++++++++----
 .../function_date_or_datetime_computation_v2.cpp   |   3 +
 be/test/vec/function/function_time_test.cpp        |  35 +++++
 .../antlr4/org/apache/doris/nereids/DorisLexer.g4  |   1 +
 .../antlr4/org/apache/doris/nereids/DorisParser.g4 |   2 +-
 .../rules/analysis/DatetimeFunctionBinder.java     |   3 +
 .../functions/executable/DateTimeArithmetic.java   |   9 ++
 .../scalar/{DaysSub.java => DaySecondAdd.java}     |  36 ++---
 .../expressions/literal/DateTimeV2Literal.java     |  50 ++++++
 .../trees/expressions/literal/Interval.java        |   1 +
 .../expressions/visitor/ScalarFunctionVisitor.java |   5 +
 .../nereids/rules/expression/FoldConstantTest.java |  16 ++
 .../datetime_functions/test_date_function.out      |   3 +
 .../test_dateadd_with_other_timeunit.out           |  50 ++++++
 .../sql-manual/sql-functions/doc_date_error.groovy |   2 +-
 .../datetime_functions/test_date_function.groovy   |   7 +
 .../test_dateadd_with_other_timeunit.groovy        | 116 ++++++++++++++
 17 files changed, 466 insertions(+), 48 deletions(-)
 copy 
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/{DaysSub.java
 => DaySecondAdd.java} (67%)
 create mode 100644 
regression-test/data/query_p0/sql_functions/datetime_functions/test_dateadd_with_other_timeunit.out
 create mode 100644 
regression-test/suites/query_p0/sql_functions/datetime_functions/test_dateadd_with_other_timeunit.groovy


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to