Skip to content

Commit

Permalink
refactor(polars): delete some dead code in the polars backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist committed Jun 14, 2024
1 parent 44224b1 commit 91abe5f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ibis/backends/polars/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,6 @@ def column(op, **_):
return pl.col(op.name)


@translate.register(ops.SortKey)
def sort_key(op, **kw):
arg = translate(op.expr, **kw)
descending = op.descending
try:
return arg.sort(descending=descending)
except TypeError: # pragma: no cover
return arg.sort(reverse=descending) # pragma: no cover


@translate.register(ops.Project)
def project(op, **kw):
lf = translate(op.parent, **kw)
Expand Down

0 comments on commit 91abe5f

Please sign in to comment.