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