This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 2f52e93d60b branch-3.0:[fix](nereids) insert task should set isNereids
to true in ConnectContext (#54451)
2f52e93d60b is described below
commit 2f52e93d60b65f374298430218868415332523e0
Author: starocean999 <[email protected]>
AuthorDate: Tue Aug 12 10:45:46 2025 +0800
branch-3.0:[fix](nereids) insert task should set isNereids to true in
ConnectContext (#54451)
…
pick https://github.com/apache/doris/pull/53919
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
.../src/main/java/org/apache/doris/job/extensions/insert/InsertTask.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/InsertTask.java
b/fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/InsertTask.java
index ff18f611c1e..a9cd0185965 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/InsertTask.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/InsertTask.java
@@ -156,6 +156,7 @@ public class InsertTask extends AbstractTask {
ctx.setQualifiedUser(userIdentity.getQualifiedUser());
ctx.setCurrentUserIdentity(userIdentity);
ctx.getState().reset();
+ ctx.getState().setNereids(true);
ctx.setThreadLocalInfo();
if (StringUtils.isNotEmpty(currentDb)) {
ctx.setDatabase(currentDb);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]