This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 627245f93ae48f748c05c94f94c5aefef3481d54 Author: morrySnow <[email protected]> AuthorDate: Fri Apr 26 14:31:49 2024 +0800 [fix](Nereids) support not in predicate for delete command (#34153) --- .../apache/doris/nereids/trees/plans/commands/DeleteFromCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DeleteFromCommand.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DeleteFromCommand.java index 7fc4657a17f..6d339a21d94 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DeleteFromCommand.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DeleteFromCommand.java @@ -326,6 +326,8 @@ public class DeleteFromCommand extends Command implements ForwardWithSync { checkIsNull((IsNull) child); } else if (child instanceof ComparisonPredicate) { checkComparisonPredicate((ComparisonPredicate) child); + } else if (child instanceof InPredicate) { + checkInPredicate((InPredicate) child); } else { throw new AnalysisException("Where clause only supports compound predicate," + " binary predicate, is_null predicate or in predicate. But we meet " --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
