yagagagaga opened a new pull request, #25123:
URL: https://github.com/apache/doris/pull/25123

   ## Proposed changes
   
   Here is the result of `show processlist`
   ```
   mysql> show processlist;
   
+------+------+--------------------+-----------------+-------+---------+------+-------+------+
   | Id   | User | Host               | Cluster         | Db    | Command | 
Time | State | Info |
   
+------+------+--------------------+-----------------+-------+---------+------+-------+------+
   |   84 | root | 127.0.0.1:48794    | default_cluster | demo  | Query   |    
0 |       |      |
   |   88 | root | 192.168.1.90:56191 | default_cluster |       | Sleep   |  
752 |       |      |
   |   89 | root | 192.168.1.90:56194 | default_cluster |       | Sleep   |  
198 |       |      |
   |   90 | root | 192.168.1.90:56196 | default_cluster | tpcds | Sleep   |   
31 |       |      |
   |   91 | root | 192.168.1.90:56197 | default_cluster | demo  | Sleep   |  
749 |       |      |
   
+------+------+--------------------+-----------------+-------+---------+------+-------+------+
   ```
   
   In previous versions, the `State` and `Info` columns did not display any 
content, which was not expected. So I fix this problem and remove the unused 
`Cluster` column.
   
   As the same time, I added some additional columns. The final changes are as 
follows.
   
   ```
   mysql> show processlist;
   
+------------------+------+------+-----------------+---------------------+------------+-------+---------+------+-------+-----------------------------------+------------------+
   | CurrentConnected | Id   | User | Host            | LoginTime           | 
Catalog    | Db    | Command | Time | State | QueryId                           
| Info             |
   
+------------------+------+------+-----------------+---------------------+------------+-------+---------+------+-------+-----------------------------------+------------------+
   | Yes              |    0 | root | 127.0.0.1:54318 | 2023-09-07 15:18:53 | 
internal   |       | Query   |    0 | OK    | 915e90179c434adf-9af2eedb03fd19bd 
| show processlist |
   |                  |    1 | root | 127.0.0.1:54834 | 2023-09-07 15:19:10 | 
jdbc_mysql | mysql | Sleep   |    3 | EOF   | 3255a97e7e04c69-a4f0b837ce742ff9  
| select 1         |
   
+------------------+------+------+-----------------+---------------------+------------+-------+---------+------+-------+-----------------------------------+------------------+
   ```
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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