[fix](Nereids) support not in predicate for delete command (#34153)

This commit is contained in:
morrySnow
2024-04-26 14:31:49 +08:00
committed by yiguolei
parent 0f0c0a266b
commit 627245f93a

View File

@ -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 "