From 597817fbd59725d804acdf7d906e25519fee967b Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:49:56 -0400 Subject: [PATCH] fix(duckdb): use `register` directly instead of calling `read_in_memory` --- ibis/backends/duckdb/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ibis/backends/duckdb/__init__.py b/ibis/backends/duckdb/__init__.py index 1f0b39fe16d1..0a1f05212eed 100644 --- a/ibis/backends/duckdb/__init__.py +++ b/ibis/backends/duckdb/__init__.py @@ -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,