Skip to content

Commit

Permalink
fix(polars): reference the correct field in the ops.SelfReference rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Feb 12, 2024
1 parent 2d8a3bf commit a371274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/polars/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ def execute_view(op, *, ctx: pl.SQLContext, **kw):

@translate.register(ops.SelfReference)
def execute_self_reference(op, **kw):
return translate(op.table, **kw)
return translate(op.parent, **kw)


@translate.register(ops.JoinTable)
Expand Down

0 comments on commit a371274

Please sign in to comment.