xinyiZzz commented on code in PR #30817:
URL: https://github.com/apache/doris/pull/30817#discussion_r1478478017


##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -34,6 +34,12 @@ singleStatement
     ;
 
 statement
+    : statementBase # statementBaseAlias
+    | CALL functionName=identifier LEFT_PAREN (expression (COMMA 
expression)*)? RIGHT_PAREN #callProcedure

Review Comment:
   current procedure is actually global and not bound to Database.
   
   replace it with `multipartIdentifier`, but not real support 
procedure/package/function name using `db.name`. but the metadata is already 
compatible.
   
   Oracle support `schema.name`
   Mysql support `db_name.sp_name`
   Hive only support `name`



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