Skip to content

Commit

Permalink
feat(polars): implement ops.SelfReference
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 31, 2023
1 parent c56376f commit 983e393
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibis/backends/polars/compiler.py
Expand Up @@ -1152,3 +1152,8 @@ def execute_view(op, *, ctx: pl.SQLContext, **kw):
child = translate(op.child, ctx=ctx, **kw)
ctx.register(op.name, child)
return child


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

0 comments on commit 983e393

Please sign in to comment.