Skip to content

Commit

Permalink
fix(duckdb): use register directly instead of calling read_in_memory
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 5, 2024
1 parent 5381d3b commit 597817f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ibis/backends/duckdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,8 @@ def read_delta(

delta_table = DeltaTable(source_table, **kwargs)

return self.read_in_memory(
delta_table.to_pyarrow_dataset(), table_name=table_name
)
self.con.register(table_name, delta_table.to_pyarrow_dataset())
return self.table(table_name)

def list_tables(
self,
Expand Down

0 comments on commit 597817f

Please sign in to comment.