Show Full Spark Query in Okera Audit Logs Helen Holzbaur July 07, 2023 20:36 Updated Follow Problem When running a query in Databricks, the full Spark query does not appear in the Okera audit logs. Answer There are two configuration parameters that are required. Server: audit_request_query Client: AUTO_POPULATE_REQUEST_NAME On the server side, set the audit_request_query parameter as part of the RS_ARGS definition. For example, RS_ARGS: ... current configs ... --audit_request_query=true On the client side, add the following to the environment variable section in the in Databricks client configuration: AUTO_POPULATE_REQUEST_NAME=true Related articles How can I use LDAP to authenticate with the Okera API in Python? Presto Client and JDK 11 with Okera Presto Endpoint Is Okera a database? DDL Error: Failed to load metadata for table pyOkera returns 0 rows Comments 0 comments Please sign in to leave a comment.