Aleksandr Efimov 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 5: (1 comment) http://gerrit.cloudera.org:8080/#/c/25078/5/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/5/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java@226 PS5, Line 226: SqlValidatorTable sqlValidatorTable = namespace.getTable(); > With `a(id,k)` and `b(k)`, this still misses the privilege request for `a.i PS7 now visits both JOIN children, but for a(id,k) and b(k) the same query also registers b.id, which does not exist. The equivalent ON a.id=c.id requests only a.id, a.k and b.k. Could we register the USING column only for children that actually expose it and add this asymmetric-schema case? -- 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: 5 Gerrit-Owner: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[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: Mon, 26 Oct 2026 08:14:57 +0000 Gerrit-HasComments: Yes
