LiBinfeng-01 commented on code in PR #45631:
URL: https://github.com/apache/doris/pull/45631#discussion_r1896296013
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -5195,5 +5197,11 @@ public LogicalPlan visitUseDatabase(UseDatabaseContext
ctx) {
return ctx.catalog != null ? new UseCommand(ctx.catalog.getText(),
ctx.database.getText())
: new UseCommand(ctx.database.getText());
}
+
+ @Override
+ public LogicalPlan visitShowConvertLsc(ShowConvertLscContext ctx) {
+ MultipartIdentifierContext database = ctx.database;
+ return database == null ? new ShowConvertLSCCommand(null) : new
ShowConvertLSCCommand(database.getText());
Review Comment:
use visitMultipartIdentifier to parse database, in case of user write sql
like: catalog.database
--
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]