morningman commented on code in PR #51047:
URL: https://github.com/apache/doris/pull/51047#discussion_r2097427631


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DescribeCommand.java:
##########
@@ -270,11 +274,11 @@ public ShowResultSet doRun(ConnectContext ctx, 
StmtExecutor executor) throws Exc
                     builder.deleteCharAt(builder.length() - 1);
                     procString += builder.toString();
                 }
-                node = ProcService.getInstance().open(procString);
+                ProcNodeInterface node = 
ProcService.getInstance().open(procString);
                 if (node == null) {
                     throw new AnalysisException("Describe table[" + 
dbTableName.getTbl() + "] failed");
                 }
-                rows.addAll(getResultRows());
+                rows.addAll(getResultRows(node));
             } else {
                 Util.prohibitExternalCatalog(dbTableName.getCtl(), 
this.getClass().getSimpleName() + " ALL");

Review Comment:
   I though about that, but most of use only know `desc table` statement. And 
their BI tools relies on this syntax. If we support it in `desc table all`, 
their have to change their business code.



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