Skip to content

Commit

Permalink
chore: remove no longer needed .cache()
Browse files Browse the repository at this point in the history
In ibis now chained .mutate()s
result in CTEs, not one giant merged SELECT,
which has much better perf.
  • Loading branch information
NickCrews committed Nov 6, 2024
1 parent a37f4d8 commit 6433a12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mismo/lib/name/_dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def prepare(self, t: ir.Table) -> ir.Table:
The prepped table.
"""
t = t.mutate(_clean.normalize_name(t[self.column]).name(self.column_normed))
# workaround for https://github.com/ibis-project/ibis/issues/8484
t = t.cache()
t = t.mutate(_clean.name_tokens(t[self.column_normed]).name(self.column_tokens))
return t

Expand Down

0 comments on commit 6433a12

Please sign in to comment.