This is an automated email from the ASF dual-hosted git repository.
suxiaogang223 pushed a commit to branch refact_reader_branch
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/refact_reader_branch by this
push:
new ee4a33299c1 [fix](be) Fix VSlotRef constructor build
ee4a33299c1 is described below
commit ee4a33299c1dedfcef9cd868cab6121f003e190c
Author: Socrates <[email protected]>
AuthorDate: Wed May 27 17:14:56 2026 +0800
[fix](be) Fix VSlotRef constructor build
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary: Fix the non-BE_TEST build failure caused by calling the
test-only set_node_type helper from the VSlotRef protected constructor.
### Release note
None
### Check List (For Author)
- Test: Manual test
- Ran clang-format dry-run and git diff --check for the modified
header. Fedora DEBUG BE build was run and exposed the fixed compile failure;
full build will be rerun after syncing this commit.
- Behavior changed: No
- Does this need documentation: No
---
be/src/exprs/vslot_ref.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/exprs/vslot_ref.h b/be/src/exprs/vslot_ref.h
index 8cb26f9bcfd..a3b849a8713 100644
--- a/be/src/exprs/vslot_ref.h
+++ b/be/src/exprs/vslot_ref.h
@@ -76,7 +76,7 @@ public:
protected:
VSlotRef(int slot_id, int column_id, int column_uniq_id)
: _slot_id(slot_id), _column_id(column_id),
_column_uniq_id(column_uniq_id) {
- set_node_type(TExprNodeType::SLOT_REF);
+ _node_type = TExprNodeType::SLOT_REF;
}
private:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]