You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jintong Jiang (Jira)" <ji...@apache.org> on 2025/05/14 23:13:00 UTC
[jira] [Created] (HIVE-28957) Enhance TestHiveMetaStoreAuthorizer to Validate HiveMetaStoreAuthorizer Internals
Jintong Jiang created HIVE-28957:
------------------------------------
Summary: Enhance TestHiveMetaStoreAuthorizer to Validate HiveMetaStoreAuthorizer Internals
Key: HIVE-28957
URL: https://issues.apache.org/jira/browse/HIVE-28957
Project: Hive
Issue Type: Improvement
Reporter: Jintong Jiang
Assignee: Jintong Jiang
The current {{TestHiveMetaStoreAuthorizer}} has several limitations:
* {*}Filter logic is untested{*}: It uses {{{}DummyHiveAuthorizerFactory{}}}, which bypasses validation of the real {{{}HiveMetaStoreAuthorizer{}}}'s filtering behavior.
* {*}No verification of authorization objects{*}: The tests do not inspect the actual {{{}HivePrivilegeObject{}}}s created or passed to the authorizer.
To address this, we need to enhance the test to:
* Verify that the correct privilege objects are created for each operation
* Ensure the appropriate filter contexts are constructed and applied
* Validate the authorization flow for operations
* Confirm that filtering functionality behaves as expected
--
This message was sent by Atlassian Jira
(v8.20.10#820010)