morrySnow commented on code in PR #44755:
URL: https://github.com/apache/doris/pull/44755#discussion_r1862283494


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CancelJobTaskCommand.java:
##########
@@ -79,14 +80,17 @@ private void validate() throws AnalysisException {
             throw new AnalysisException("JobName value must is string");
         }
         this.jobName = ((StringLikeLiteral) 
expr.child(0).child(1)).getStringValue();
-        String taskIdInput = ((StringLikeLiteral) 
expr.child(1).child(0)).getStringValue();
+        if (!(expr.child(1).child(0) instanceof UnboundSlot)) {

Review Comment:
   if jobName must string, i think we should change syntax to ensure it



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to