Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Impala 2.13.0, Impala 3.3.0
-
None
-
ghx-label-3
Description
Currently, Impala documentation highlights the following cases as operations which the audit logs will record:
Which Operations Are Audited The kinds of SQL queries represented in the audit log are: Queries that are prevented due to lack of authorization. Queries that Impala can analyze and parse to determine that they are authorized. The audit data is recorded immediately after Impala finishes its analysis, before the query is actually executed. The audit log does not contain entries for queries that could not be parsed and analyzed. For example, a query that fails due to a syntax error is not recorded in the audit log. The audit log also does not contain queries that fail due to a reference to a table that does not exist, if you would be authorized to access the table if it did exist. Certain statements in the impala-shell interpreter, such as CONNECT, SUMMARY, PROFILE, SET, and QUIT, do not correspond to actual SQL queries, and these statements are not reflected in the audit log.
However, based on[1], there is an unmentioned condition that the client must have issued at least one fetch for analyzed queries to be recorded in audit logs.