Vallishp commented on code in PR #33264:
URL: https://github.com/apache/doris/pull/33264#discussion_r1562494065


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -3432,7 +3468,18 @@ public LogicalPlan 
visitDropProcedure(DropProcedureContext ctx) {
 
     @Override
     public LogicalPlan visitShowProcedureStatus(ShowProcedureStatusContext 
ctx) {
-        return ParserUtils.withOrigin(ctx, () -> new 
ShowProcedureStatusCommand());
+        Set<Expression> whereExpr = Collections.emptySet();
+        if (ctx.whereClause() != null) {
+            whereExpr = ExpressionUtils.extractConjunctionToSet(
+                    getExpression(ctx.whereClause().booleanExpression()));
+        }
+        Expression valueExpr = null;
+        if (ctx.valueExpression() != null) {
+            valueExpr = new Like(getExpression(ctx.valueExpression()), 
getExpression(ctx.pattern));

Review Comment:
   mysql supports this grammer. so we added same. 



-- 
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]

Reply via email to