You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Abhishek (Jira)" <ji...@apache.org> on 2022/04/26 07:21:00 UTC

[jira] [Created] (IMPALA-11271) Impala generating two audits for "Compute stats" query when the database name is in mixed case

Abhishek created IMPALA-11271:
---------------------------------

             Summary: Impala generating two audits for "Compute stats" query when the database name is in mixed case
                 Key: IMPALA-11271
                 URL: https://issues.apache.org/jira/browse/IMPALA-11271
             Project: IMPALA
          Issue Type: Bug
            Reporter: Abhishek


When running the compute stats query in impala, two audit entries are generated with the access type "alter" when the database name is in mixed case ( For e.g :- DataBase_random_str).
When the database name is in lowercase, only one audit entry is generated with theĀ 
access type "alter".
The behaviour is not consistent when the database name is in lowercase and the
database name is in mixed case.

Steps to reproduce :-
1. Create a database, for e.g database_abc
2. Create a table under the database, for.eg database_abc.table_abc
3. Run the query "COMPUTE STATS DataBase_abc.table_abc"
4. On the Ranger UI, two audit entries will be generated for the operationĀ 
with the access type "alter".

This is not the case when we use the "default" database, when we run the query
"COMPUTE STATS "DEFault.table_efg", it generates only one audit.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org