BobDu commented on code in PR #27917:
URL: https://github.com/apache/airflow/pull/27917#discussion_r1036744105
##########
airflow/providers/amazon/aws/hooks/athena.py:
##########
@@ -91,8 +94,12 @@ def run_query(
}
if client_request_token:
params["ClientRequestToken"] = client_request_token
+ if self.log_query:
+ self.log.info("Running Query with params: %s", params)
Review Comment:
We only log query details when option `log_query = True`, like `DbApiHook`
option `log_sql`.
So it may be better to keep using `info` level.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]