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 06:23:58 UTC

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

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


##########
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:
   OK, it will may be the same as `select user()` stmt.



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