Skip to content

Commit

Permalink
Fix rowcount logging in exasol provider (#44022)
Browse files Browse the repository at this point in the history
  • Loading branch information
Briimbo committed Jan 17, 2025
1 parent 9984dcd commit 3b7f51c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/44022.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correctly log the rowcount in the run method of the exasol provider
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/exasol/hooks/exasol.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run(
else:
results.append(result)
self.descriptions.append(self.get_description(exa_statement))
self.log.info("Rows affected: %s", exa_statement.rowcount)
self.log.info("Rows affected: %s", exa_statement.rowcount())

# If autocommit was set to False or db does not support autocommit, we do a manual commit.
if not self.get_autocommit(conn):
Expand Down

0 comments on commit 3b7f51c

Please sign in to comment.