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

zhaoc pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git.


    from 8ea5907  Update arrow's version to 0.15.1 and shaded it in 
spark-doris-connector (#2769)
     add 0ddca59  Add timestampadd/timestampdiff function (#2725)

No new revisions were added by this update.

Summary of changes:
 be/src/exprs/timestamp_functions.cpp               | 100 ++++++++++++++
 be/src/exprs/timestamp_functions.h                 |  19 +++
 be/src/runtime/datetime_value.h                    |   6 +
 be/test/exprs/timestamp_functions_test.cpp         |  51 +++++++
 .../date-time-functions/{year.md => hour.md}       |  16 +--
 .../date-time-functions/{year.md => minute.md}     |  16 +--
 .../date-time-functions/{year.md => second.md}     |  16 +--
 .../date-time-functions/timestampadd.md            |  52 ++++++++
 .../{datediff.md => timestampdiff.md}              |  51 ++++---
 .../date-time-functions/{year_EN.md => hour_EN.md} |  18 ++-
 .../{month_EN.md => minute_EN.md}                  |  17 ++-
 .../{month_EN.md => second_EN.md}                  |  17 ++-
 .../date-time-functions/timestampadd_EN.md         |  51 +++++++
 .../date-time-functions/timestampdiff_EN.md}       |  51 ++++---
 fe/src/main/cup/sql_parser.cup                     |  31 ++++-
 .../doris/analysis/TimestampArithmeticExpr.java    | 148 +++++++++++++--------
 fe/src/main/jflex/sql_scanner.flex                 |   9 +-
 gensrc/script/doris_builtins_functions.py          |  15 +++
 18 files changed, 526 insertions(+), 158 deletions(-)
 copy 
docs/documentation/cn/sql-reference/sql-functions/date-time-functions/{year.md 
=> hour.md} (82%)
 copy 
docs/documentation/cn/sql-reference/sql-functions/date-time-functions/{year.md 
=> minute.md} (81%)
 copy 
docs/documentation/cn/sql-reference/sql-functions/date-time-functions/{year.md 
=> second.md} (81%)
 create mode 100644 
docs/documentation/cn/sql-reference/sql-functions/date-time-functions/timestampadd.md
 copy 
docs/documentation/cn/sql-reference/sql-functions/date-time-functions/{datediff.md
 => timestampdiff.md} (53%)
 copy 
docs/documentation/en/sql-reference/sql-functions/date-time-functions/{year_EN.md
 => hour_EN.md} (81%)
 copy 
docs/documentation/en/sql-reference/sql-functions/date-time-functions/{month_EN.md
 => minute_EN.md} (80%)
 copy 
docs/documentation/en/sql-reference/sql-functions/date-time-functions/{month_EN.md
 => second_EN.md} (80%)
 create mode 100644 
docs/documentation/en/sql-reference/sql-functions/date-time-functions/timestampadd_EN.md
 copy 
docs/documentation/{cn/sql-reference/sql-functions/date-time-functions/datediff.md
 => en/sql-reference/sql-functions/date-time-functions/timestampdiff_EN.md} 
(53%)


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

Reply via email to