potiuk commented on code in PR #25566:
URL: https://github.com/apache/airflow/pull/25566#discussion_r939551982
##########
airflow/providers/vertica/operators/vertica.py:
##########
@@ -48,5 +48,5 @@ def __init__(
def execute(self, context: 'Context') -> None:
self.log.info('Executing: %s', self.sql)
- hook = VerticaHook(vertica_conn_id=self.vertica_conn_id)
+ hook = VerticaHook(vertica_conn_id=self.vertica_conn_id, log_sql=False)
Review Comment:
I tihnk keep it in operator is better - it will be logged in our logger and
will get to the "airflow.task" output.
--
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]