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/incubator-doris.git.
from 80220af [Enhancement] Use Parallel Hash Map Replace Unordered Map In
Dict Encodeing Map And Hyper Set (#5990)
add d33a6d1 [Function] Support date function: yearweek(), week(),
makedate(). (#6000)
No new revisions were added by this update.
Summary of changes:
be/src/exprs/timestamp_functions.cpp | 42 ++++++++++
be/src/exprs/timestamp_functions.h | 13 +++
be/src/runtime/datetime_value.cpp | 19 +++++
be/src/runtime/datetime_value.h | 2 +
be/test/exprs/timestamp_functions_test.cpp | 95 ++++++++++++++++++++++
docs/.vuepress/sidebar/en.js | 3 +
docs/.vuepress/sidebar/zh-CN.js | 3 +
.../min.md => date-time-functions/makedate.md} | 23 +++---
.../sql-functions/date-time-functions/week.md | 67 +++++++++++++++
.../sql-functions/date-time-functions/yearweek.md | 79 ++++++++++++++++++
.../{utc_timestamp.md => makedate.md} | 29 +++----
.../sql-functions/date-time-functions/week.md | 76 +++++++++++++++++
.../sql-functions/date-time-functions/yearweek.md | 80 ++++++++++++++++++
.../java/org/apache/doris/rewrite/FEFunctions.java | 37 +++++++++
gensrc/script/doris_builtins_functions.py | 10 +++
15 files changed, 548 insertions(+), 30 deletions(-)
copy docs/en/sql-reference/sql-functions/{aggregate-functions/min.md =>
date-time-functions/makedate.md} (59%)
create mode 100644
docs/en/sql-reference/sql-functions/date-time-functions/week.md
create mode 100644
docs/en/sql-reference/sql-functions/date-time-functions/yearweek.md
copy
docs/zh-CN/sql-reference/sql-functions/date-time-functions/{utc_timestamp.md =>
makedate.md} (60%)
create mode 100644
docs/zh-CN/sql-reference/sql-functions/date-time-functions/week.md
create mode 100644
docs/zh-CN/sql-reference/sql-functions/date-time-functions/yearweek.md
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]