This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-4.0-preview
in repository https://gitbox.apache.org/repos/asf/doris.git

commit e59174785809f8265b1c20542c6bb1635e1dabd8
Author: morrySnow <101034200+morrys...@users.noreply.github.com>
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 43127d097fc..35cc0544c1c 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
@@ -324,6 +324,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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to