Steve Carlin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25078 )

Change subject: IMPALA-15500, IMPALA-15533: Register column-level privilege 
requests in USING
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/25078/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java:

http://gerrit.cloudera.org:8080/#/c/25078/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java@231
PS3, Line 231:         if (table instanceof CalciteTable) {
nit optional:  The call to registerPrivReq is repeated, but FeView is also an 
FeTable object.

What do you think about having a helper private method "FeTable 
getFeTable(Table table)" and then only have one instance of calling 
registerPrivReq?



--
To view, visit http://gerrit.cloudera.org:8080/25078
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia49fc01fc45408649b36441c436038921dbb9451
Gerrit-Change-Number: 25078
Gerrit-PatchSet: 3
Gerrit-Owner: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Fri, 09 Oct 2026 22:21:36 +0000
Gerrit-HasComments: Yes

Reply via email to