This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a change to branch 2.1-tmp in repository https://gitbox.apache.org/repos/asf/doris.git
from 8a291efb0c5 [improvement](spill) avoid spill if memory is enough (#33075) new 5aba0524acf [Enhancement](merge-on-write) Support dynamic delete bitmap cache (#32991) new c3ffbdb799b [feature](nereids) support common sub expression by multi-layer projections (fe part) (#33087) new 6a43093d552 [Fix](Nereids) ntile function should check argument (#32994) new 45707f3019e [Optimize] Move strings_pool from individual tree nodes to the tree itself (#33089) new f47e0591c17 [fix](fe) partitionInfo is null, fe can not start (#33108) new 7b63e812ffa [enhancement](function truncate) truncate can use column as scale argument (#32746) new 53b1d44a74c [Feature] support function uuid_to_int and int_to_uuid #33005 The 7 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: be/src/common/config.cpp | 5 + be/src/common/config.h | 1 + be/src/olap/tablet_meta.cpp | 15 +- be/src/vec/columns/subcolumn_tree.h | 48 ++- be/src/vec/functions/function_truncate.h | 245 ++++++++++++++ be/src/vec/functions/function_uuid.cpp | 213 ++++++++++++ be/src/vec/functions/math.cpp | 23 +- be/src/vec/functions/round.h | 224 ++++++++++++- be/src/vec/functions/simple_function_factory.h | 4 +- be/test/vec/function/function_string_test.cpp | 30 ++ .../function/function_truncate_decimal_test.cpp | 370 +++++++++++++++++++++ .../apache/doris/analysis/FunctionCallExpr.java | 32 +- .../doris/catalog/BuiltinScalarFunctions.java | 4 + .../apache/doris/catalog/CatalogRecycleBin.java | 3 +- .../glue/translator/PhysicalPlanTranslator.java | 50 ++- .../post/CommonSubExpressionCollector.java | 59 ++++ .../processor/post/CommonSubExpressionOpt.java | 125 +++++++ .../nereids/processor/post/PlanPostProcessors.java | 3 +- .../functions/ComputePrecisionForRound.java | 40 ++- .../{window/Ntile.java => scalar/InttoUuid.java} | 46 ++- .../{window/Ntile.java => scalar/UuidtoInt.java} | 48 ++- .../trees/expressions/functions/window/Ntile.java | 24 ++ .../expressions/visitor/ScalarFunctionVisitor.java | 10 + .../trees/plans/physical/PhysicalProject.java | 81 ++++- .../java/org/apache/doris/planner/PlanNode.java | 38 ++- .../apache/doris/catalog/CreateFunctionTest.java | 41 ++- .../postprocess/CommonSubExpressionTest.java | 131 ++++++++ gensrc/script/doris_builtins_functions.py | 5 +- .../math_functions/test_function_truncate.out | 101 ++++++ regression-test/data/tpch_sf0.1_p1/sql/cse.out | 30 ++ .../doris/regression/action/ExplainAction.groovy | 15 + .../window_functions/test_ntile_function.groovy | 21 +- .../math_functions/test_function_truncate.groovy | 132 ++++++++ .../window_functions/test_ntile_function.groovy | 10 + .../suites/tpch_sf0.1_p1/sql/cse.groovy | 49 +++ 35 files changed, 2120 insertions(+), 156 deletions(-) create mode 100644 be/src/vec/functions/function_truncate.h create mode 100644 be/src/vec/functions/function_uuid.cpp create mode 100644 be/test/vec/function/function_truncate_decimal_test.cpp create mode 100644 fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/CommonSubExpressionCollector.java create mode 100644 fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/CommonSubExpressionOpt.java copy fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/{window/Ntile.java => scalar/InttoUuid.java} (54%) copy fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/{window/Ntile.java => scalar/UuidtoInt.java} (56%) create mode 100644 fe/fe-core/src/test/java/org/apache/doris/nereids/postprocess/CommonSubExpressionTest.java create mode 100644 regression-test/data/query_p0/sql_functions/math_functions/test_function_truncate.out create mode 100644 regression-test/data/tpch_sf0.1_p1/sql/cse.out create mode 100644 regression-test/suites/query_p0/sql_functions/math_functions/test_function_truncate.groovy create mode 100644 regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org