Files
impala/tests
Fang-Yu Rao 4255926b12 IMPALA-12554: Create one Ranger policy for multi-column GRANT
This patch makes Impala create only one Ranger policy for the GRANT
statement when there are multiple columns specified to reduce the number
of policies created on the Ranger server.

Note that this patch relies on RANGER-4585 and RANGER-4638.

Testing:
 - Manually verified that Impala's catalog daemon only sends one
   GrantRevokeRequest to the Ranger plug-in and that the value of the
   key 'column' is a comma-separated list of column names involved in
   the GRANT statement.
 - Added an end-to-end test to verify only one Ranger policy will be
   created in a multi-column GRANT statement.

Change-Id: I2b0ebba256c7135b4b0d2160856202292d720c6d
Reviewed-on: http://gerrit.cloudera.org:8080/21940
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2024-11-08 11:48:45 +00:00
..