Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Nov 7, 2024
1 parent 9dff634 commit f8fcd6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sql/connection/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,10 @@ def raw_execute(self, query, parameters=None, with_=None):
cur = self._connection.cursor()

if self._is_duckdb_native:
cur.execute("SET python_scan_all_frames=true")
try:
cur.execute("SET python_scan_all_frames=true")
except Exception:
pass

cur.execute(query)

Expand Down

0 comments on commit f8fcd6b

Please sign in to comment.