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