Skip to content

Commit abc939e

Browse files
cpcloudkszucs
authored andcommitted
refactor(duckdb): remove .raw_sql call
1 parent e8f96b6 commit abc939e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/backends/duckdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def to_pyarrow_batches(
390390
query_ast = self.compiler.to_ast_ensure_limit(expr, limit, params=params)
391391
sql = query_ast.compile()
392392

393-
cursor = self.raw_sql(sql)
393+
cursor = self.con.connect().execute(sql)
394394

395395
reader = cursor.cursor.fetch_record_batch(chunk_size=chunk_size)
396396
return IbisRecordBatchReader(reader, cursor)

0 commit comments

Comments
 (0)