This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from d6b72d9b89 [Bug](update) support to check optional value of
agg_sort_infos (#13732)
add 5805011629 [Feature](string-function) Add function
mask/mask_first_n/mask_last_n (#13694)
No new revisions were added by this update.
Summary of changes:
be/src/vec/functions/function_string.cpp | 3 +
be/src/vec/functions/function_string.h | 177 +++++++++++++++++++++
.../sql-functions/string-functions/mask/mask.md | 66 ++++++++
.../{strright.md => mask/mask_first_n.md} | 35 ++--
.../{concat.md => mask/mask_last_n.md} | 46 +++---
docs/sidebars.json | 3 +
.../sql-functions/string-functions/mask/mask.md | 66 ++++++++
.../{strright.md => mask/mask_first_n.md} | 32 ++--
.../{concat.md => mask/mask_last_n.md} | 44 +++--
gensrc/script/doris_builtins_functions.py | 5 +
.../data/correctness_p0/test_mask_function.out | 57 +++++++
.../correctness_p0/test_mask_function.groovy | 74 +++++++++
12 files changed, 535 insertions(+), 73 deletions(-)
create mode 100644
docs/en/docs/sql-manual/sql-functions/string-functions/mask/mask.md
copy docs/en/docs/sql-manual/sql-functions/string-functions/{strright.md =>
mask/mask_first_n.md} (57%)
copy docs/en/docs/sql-manual/sql-functions/string-functions/{concat.md =>
mask/mask_last_n.md} (59%)
create mode 100644
docs/zh-CN/docs/sql-manual/sql-functions/string-functions/mask/mask.md
copy docs/zh-CN/docs/sql-manual/sql-functions/string-functions/{strright.md =>
mask/mask_first_n.md} (60%)
copy docs/zh-CN/docs/sql-manual/sql-functions/string-functions/{concat.md =>
mask/mask_last_n.md} (61%)
create mode 100644 regression-test/data/correctness_p0/test_mask_function.out
create mode 100644
regression-test/suites/correctness_p0/test_mask_function.groovy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]