This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 4e56d3f8e28 branch-4.1: [chore](expr) remove useless if in
`is_acting_on_a_slot` #63095 (#63115)
4e56d3f8e28 is described below
commit 4e56d3f8e287eb7f6c5e3f9264e8196eba64d331
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 11 12:53:49 2026 +0800
branch-4.1: [chore](expr) remove useless if in `is_acting_on_a_slot` #63095
(#63115)
Cherry-picked from #63095
Co-authored-by: lihangyu <[email protected]>
---
be/src/exprs/vexpr.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/be/src/exprs/vexpr.cpp b/be/src/exprs/vexpr.cpp
index c229488b059..7ab49cb4349 100644
--- a/be/src/exprs/vexpr.cpp
+++ b/be/src/exprs/vexpr.cpp
@@ -340,9 +340,6 @@ TExprNode create_texpr_node_from(const Field& field, const
PrimitiveType& type,
namespace doris {
bool VExpr::is_acting_on_a_slot(const VExpr& expr) {
- if (expr.node_type() == TExprNodeType::SEARCH_EXPR) {
- return true;
- }
const auto& children = expr.children();
auto is_a_slot = std::any_of(children.begin(), children.end(),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]