Skip to content

Commit

Permalink
fix hive proxy cursor method
Browse files Browse the repository at this point in the history
  • Loading branch information
sassmith committed Nov 4, 2024
1 parent f510c4f commit 9d1b40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo/integrations/db/hive_proxy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def cursor(self):
# or the cursor is closed. GetLog() is not automatically called so spark databricks works.
# With False the cursor will not have a rowcount for DML statements, this is fine for MC.
# https://github.com/cloudera/impyla/blob/e4c76169f7e5765c09b11c92fceb862dbb9b72be/impala/hiveserver2.py#L122
return super().cursor(self, close_finished_queries=False)
return self._connection.cursor(close_finished_queries=False)


class HiveProxyClient(BaseDbProxyClient):
Expand Down

0 comments on commit 9d1b40d

Please sign in to comment.