Skip to content

Commit

Permalink
adds note
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Nov 7, 2024
1 parent 4d3f3d8 commit 3bdb1f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sql/connection/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,8 @@ def raw_execute(self, query, parameters=None, with_=None):

cur = self._connection.cursor()

# NOTE: this is a workaround for duckdb 1.1.0 and higher so we keep the
# existing behavior of being able to query data frames
if self._is_duckdb_native:
try:
cur.execute("SET python_scan_all_frames=true")
Expand Down

0 comments on commit 3bdb1f4

Please sign in to comment.