Vuk Ercegovac has posted comments on this change. ( http://gerrit.cloudera.org:8080/10643 )
Change subject: IMPALA-7144: Re-enable TestDescribeTableResults ...................................................................... Patch Set 5: (2 comments) http://gerrit.cloudera.org:8080/#/c/10643/5/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java File fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java: http://gerrit.cloudera.org:8080/#/c/10643/5/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java@1979 PS5, Line 1979: rowIdx++; // Ignore the first empty line. : Preconditions.checkElementIndex(rowIdx + 1, rows.size()); simplify: rowIdx += 2; // Skips over the first empty line Preconditions.checkElementIndex(rowIdx, rows.size()); cols = rows.get(rowIdx).getColVals(); http://gerrit.cloudera.org:8080/#/c/10643/5/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java@1985 PS5, Line 1985: Preconditions.checkElementIndex(rowIdx + 1, rows.size()); simplify: ++rowIdx; Preconditions.checkElementIndex(rowIdx, rows.size()); cols = rows.get(rowIdx).getColVals(); -- To view, visit http://gerrit.cloudera.org:8080/10643 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I3aeaecf5b6d906a66d338e165a6d506e3964563f Gerrit-Change-Number: 10643 Gerrit-PatchSet: 5 Gerrit-Owner: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Vuk Ercegovac <[email protected]> Gerrit-Comment-Date: Fri, 08 Jun 2018 15:59:57 +0000 Gerrit-HasComments: Yes
