From 3143ad3307f57d02bfd843ec13a151f5a0f6ec5b Mon Sep 17 00:00:00 2001 From: Guen Prawiroatmodjo Date: Sun, 8 Sep 2024 02:27:47 -0400 Subject: [PATCH] remove deprecated functions --- dbt/adapters/duckdb/plugins/delta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt/adapters/duckdb/plugins/delta.py b/dbt/adapters/duckdb/plugins/delta.py index c6b0aa2a..37a320bb 100644 --- a/dbt/adapters/duckdb/plugins/delta.py +++ b/dbt/adapters/duckdb/plugins/delta.py @@ -31,10 +31,10 @@ def load(self, source_config: SourceConfig): as_of_datetime = source_config.get("as_of_datetime", None) if as_of_version: - dt.load_version(as_of_version) + dt.load_as_version(as_of_version) if as_of_datetime: - dt.load_with_datetime(as_of_datetime) + dt.load_as_version(as_of_datetime) df = dt.to_pyarrow_dataset()