wenzhenghu opened a new pull request, #65697:
URL: https://github.com/apache/doris/pull/65697
### What problem does this PR solve?
Issue Number: N/A
Related PR: HYDCP/hy-doris#69
Problem Summary: DeleteFromCommand currently falls back to
DeleteFromUsingCommand when predicate validation fails. If the fallback
execution also fails, the original validation exception is rethrown directly,
which hides the actual fallback failure and makes troubleshooting difficult.
This change preserves both failure causes by surfacing the fallback execution
error, attaching it as the main cause, and keeping the original validation
failure as a suppressed exception. The PR also adds FE unit tests to verify the
merged exception message and the null-message fallback path.
### Release note
Improve FE error reporting when DELETE fallback execution fails after
predicate validation failure.
### Check List (For Author)
- Test: FE UT
- `DORIS_BUILD_PYTHON_VERSION=python3 ./run-fe-ut.sh --run
org.apache.doris.nereids.trees.plans.commands.DeleteFromCommandTest`
- Behavior changed: Yes - DELETE fallback failures now preserve both failure
causes for diagnosis
- Does this need documentation: No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]