Skip to content

Commit

Permalink
chore: slightly better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 17, 2023
1 parent 14626e8 commit b61c363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/duckdb/compiler/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _fillna(op: ops.FillNa, *, table, **kw):

@translate_rel.register
def _view(op: ops.View, *, child, name: str, **_):
# TODO: find a better way to do this
# TODO: find a way to do this without creating a temporary view
backend = op.child.to_expr()._find_backend()
backend._create_temp_view(table_name=name, source=sg.select("*").from_(child))
return sg.table(name)
Expand Down

0 comments on commit b61c363

Please sign in to comment.