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/05/11 05:41:28 UTC

[GitHub] [incubator-doris] xy720 commented on a diff in pull request #9485: [Tiny-fix] Add show user stmt impl.

xy720 commented on code in PR #9485:
URL: https://github.com/apache/incubator-doris/pull/9485#discussion_r869889077


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowUserStmt.java:
##########
@@ -28,9 +28,8 @@ public class ShowUserStmt extends ShowStmt {
 
     static {
         ShowResultSetMetaData.Builder builder = ShowResultSetMetaData.builder();
-        for (String title : AuthProcDir.TITLE_NAMES) {
-            builder.addColumn(new Column(title, ScalarType.createVarchar(30)));
-        }
+        builder.addColumn(new Column("User", ScalarType.createVarchar(30)));

Review Comment:
   We should show UserIdentity to user, just like Mysql.
   For example, `'root'@'localhost'.`



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