This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit be7c4d267e09d0b6f7ed6930684f270d1324f91d Author: morningman <morning...@163.com> AuthorDate: Thu Feb 2 18:11:55 2023 +0800 [branch1.2] fix compile bug after cherry-pick --- be/src/vec/functions/function_helpers.cpp | 8 -------- .../src/main/java/org/apache/doris/analysis/FunctionCallExpr.java | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/be/src/vec/functions/function_helpers.cpp b/be/src/vec/functions/function_helpers.cpp index c77f3c5ab7..c42d0dc0ea 100644 --- a/be/src/vec/functions/function_helpers.cpp +++ b/be/src/vec/functions/function_helpers.cpp @@ -79,14 +79,6 @@ std::tuple<Block, ColumnNumbers> create_block_with_nested_columns(const Block& b } } - // TODO: only support match function, rethink the logic - for (const auto& ctn : block) { - if (ctn.name.size() > BeConsts::BLOCK_TEMP_COLUMN_PREFIX.size() && - starts_with(ctn.name, BeConsts::BLOCK_TEMP_COLUMN_PREFIX)) { - res.insert(ctn); - } - } - return {res, res_args}; } diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java index 526d2fd9f6..3aff4d3517 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java @@ -835,6 +835,7 @@ public class FunctionCallExpr extends Expr { if (!getChild(1).isConstant()) { throw new AnalysisException(fnName + "function's second argument should be constant"); } + throw new AnalysisException(fnName + "not support on vectorized engine now."); } if ((fnName.getFunction().equalsIgnoreCase("HLL_UNION_AGG") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org