rijeshkp commented on code in PR #44703:
URL: https://github.com/apache/doris/pull/44703#discussion_r1874350165
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -4936,4 +4938,15 @@ public LogicalPlan
visitShowCollation(ShowCollationContext ctx) {
}
return new ShowCollationCommand(wild);
}
+
+ @Override
+ public LogicalPlan visitShowTableCreation(ShowTableCreationContext ctx) {
+ String dbName = null;
+ if (ctx.database != null) {
+ List<String> nameParts = visitMultipartIdentifier(ctx.database);
+ dbName = nameParts.get(0); // only one entry possible
+ }
+
+ return new ShowTableCreationCommand(dbName,
ctx.STRING_LITERAL().getText());
Review Comment:
Addressed. Please review. Also this command was supported earlier (for
iceberg). Looks like the support has been removed later. Now the command just
returns ok,.
--
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]