Skip to content

Commit

Permalink
chore: remove accidental join syms formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Aug 25, 2022
1 parent a16814c commit 1e8a18f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions ibis/expr/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,23 +669,6 @@ def _fmt_value_table_node(
return f"{aliases[op.table.op()]}"


_JOIN_SYMS = {
ops.InnerJoin: "⋈",
ops.LeftJoin: "⟕",
ops.RightJoin: "⟖",
ops.OuterJoin: "⟗",
ops.CrossJoin: "×",
}


@fmt_value.register
def _fmt_value_join(op: ops.Join, *, aliases: Aliases, **_: Any) -> str:
"""Format a join as value."""
left = aliases[op.left.op()]
right = aliases[op.right.op()]
return f"{left} {_JOIN_SYMS[type(op)]} {right}"


@fmt_value.register
def _fmt_value_string_sql_like(
op: ops.StringSQLLike, *, aliases: Aliases
Expand Down

0 comments on commit 1e8a18f

Please sign in to comment.