diff options
Diffstat (limited to 'sqlglot/optimizer/optimize_joins.py')
-rw-r--r-- | sqlglot/optimizer/optimize_joins.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sqlglot/optimizer/optimize_joins.py b/sqlglot/optimizer/optimize_joins.py index dc5ce44..8589657 100644 --- a/sqlglot/optimizer/optimize_joins.py +++ b/sqlglot/optimizer/optimize_joins.py @@ -1,6 +1,5 @@ from sqlglot import exp from sqlglot.helper import tsort -from sqlglot.optimizer.simplify import simplify def optimize_joins(expression): @@ -29,7 +28,6 @@ def optimize_joins(expression): for name, join in cross_joins: for dep in references.get(name, []): on = dep.args["on"] - on = on.replace(simplify(on)) if isinstance(on, exp.Connector): for predicate in on.flatten(): |