You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/06 08:30:58 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a diff in pull request #8780: [improvement]complement the SHOW PROCESSLIST information

EmmyMiao87 commented on code in PR #8780:
URL: https://github.com/apache/incubator-doris/pull/8780#discussion_r843656074


##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectContext.java:
##########
@@ -549,12 +551,21 @@ public String getRemoteIp() {
             row.add(getMysqlChannel().getRemoteHostPortString());
             row.add(clusterName);
             row.add(ClusterNamespace.getNameFromFullName(currentDb));
+                        row.add(queryDetail.getQueryId());
             row.add(command.toString());
+            row.add(fromLongToDate(startTime));
             row.add("" + (nowMs - startTime) / 1000);
             row.add("");
-            row.add("");
+            String stmt = executor == null ? "" : executor.getOriginStmtInString();

Review Comment:
   We can already view the currently running query through the function of ```SHOW PROC "/current_query_stmts"```. 
   What is the main purpose of adding here?



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org