Adam Holley has posted comments on this change. ( http://gerrit.cloudera.org:8080/11469 )
Change subject: IMPALA-7591: Use short name for setting owner ...................................................................... Patch Set 3: (3 comments) http://gerrit.cloudera.org:8080/#/c/11469/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/11469/2//COMMIT_MSG@13 PS2, Line 13: org.apache.i > Please add the class name as there are more than one getShortName() functio Done http://gerrit.cloudera.org:8080/#/c/11469/2//COMMIT_MSG@15 PS2, Line 15: i.e. It's actua > I would prefer if there was such a test if it is not too hard to create one There's an existing test in AuthorizationTest.java TestShortUsernameWithAuthToLocal. uses the variable "malformedRule". The only other option is to enable kerberos which I don't think we want to require for unit tests yet. http://gerrit.cloudera.org:8080/#/c/11469/2/fe/src/main/java/org/apache/impala/analysis/AlterViewStmt.java File fe/src/main/java/org/apache/impala/analysis/AlterViewStmt.java: http://gerrit.cloudera.org:8080/#/c/11469/2/fe/src/main/java/org/apache/impala/analysis/AlterViewStmt.java@53 PS2, Line 53: // > optional: I would add a function like getShortName() to Analyzer/StatementB Done -- To view, visit http://gerrit.cloudera.org:8080/11469 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Iab392a0cd5c0bb98442e1f7ac39f470310a21f11 Gerrit-Change-Number: 11469 Gerrit-PatchSet: 3 Gerrit-Owner: Adam Holley <ahol...@cloudera.com> Gerrit-Reviewer: Adam Holley <ahol...@cloudera.com> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Comment-Date: Thu, 20 Sep 2018 15:04:47 +0000 Gerrit-HasComments: Yes