IMPALA-12554: (Addendum) Add a flag to not consolidate requests by default

This patch adds a startup flag so that by default the catalog server
will not consolidate the grant/revoke requests sent to the Ranger server
when there are multiple columns involved in the GRANT/REVOKE statement.

Testing:
 - Added 2 end-to-end tests to make sure the grant/revoke requests
   sent to the Ranger server would be consolidated only when the flag
   is explicitly added when we start the catalog server.

Change-Id: I4defc59c048be1112380c3a7254ffa8655eee0af
Reviewed-on: http://gerrit.cloudera.org:8080/22833
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Fang-Yu Rao
2025-04-29 16:07:50 -07:00
committed by Impala Public Jenkins
parent d95c06cd6c
commit 8f7d2246ec
6 changed files with 26 additions and 2 deletions

View File

@@ -337,4 +337,6 @@ struct TBackendGflags {
152: required i32 min_event_processor_idle_ms
153: required i32 max_outstanding_events_on_executors
154: required bool consolidate_grant_revoke_requests
}