Skip to content

Commit

Permalink
Merge pull request #439 from duckdb/guenp/fix-deltalake-load_version
Browse files Browse the repository at this point in the history
Remove deprecated DeltaLake functions
  • Loading branch information
jwills authored Sep 8, 2024
2 parents bacf563 + 3143ad3 commit af643ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/adapters/duckdb/plugins/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit af643ad

Please sign in to comment.