Skip to content

Commit

Permalink
chore: avoid passing raw=True to pyspark when translating aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 20, 2023
1 parent 7f09488 commit 669b352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibis/backends/pyspark/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def _can_be_replaced_by_column_name(column, table):


@compiles(ops.Alias)
def compile_alias(t, op, **kwargs):
arg = t.translate(op.arg, **kwargs)
def compile_alias(t, op, raw: bool = False, **kwargs):
arg = t.translate(op.arg, raw=False, **kwargs)
return arg.alias(op.name)


Expand Down

0 comments on commit 669b352

Please sign in to comment.