Skip to content

Commit

Permalink
replace self native frame with alias
Browse files Browse the repository at this point in the history
  • Loading branch information
raisadz committed Jan 24, 2025
1 parent d64d682 commit 1e2ce0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/_duckdb/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def join_asof(
msg = "Only 'backward' and 'forward' strategies are currently supported for DuckDB"
raise NotImplementedError(msg)
condition = " and ".join(conditions)
select = [f'lhs."{x}"' for x in self._native_frame.columns]
select = [f'lhs."{x}"' for x in lhs.columns]
for col in rhs.columns:
if col in lhs.columns and (
right_on is None or col not in [right_on, *by_right]
Expand Down

0 comments on commit 1e2ce0e

Please sign in to comment.