File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -926,9 +926,9 @@ def eliminate_join_marks(expression: exp.Expression) -> exp.Expression:
926
926
if not left_join_table :
927
927
continue
928
928
929
- assert not (len ( left_join_table ) > 1 ), (
930
- "Cannot combine JOIN predicates from different tables"
931
- )
929
+ assert not (
930
+ len ( left_join_table ) > 1
931
+ ), "Cannot combine JOIN predicates from different tables"
932
932
933
933
for col in join_cols :
934
934
col .set ("join_mark" , False )
@@ -958,9 +958,9 @@ def eliminate_join_marks(expression: exp.Expression) -> exp.Expression:
958
958
959
959
if query_from .alias_or_name in new_joins :
960
960
only_old_joins = old_joins .keys () - new_joins .keys ()
961
- assert len ( only_old_joins ) >= 1 , (
962
- "Cannot determine which table to use in the new FROM clause"
963
- )
961
+ assert (
962
+ len ( only_old_joins ) >= 1
963
+ ), "Cannot determine which table to use in the new FROM clause"
964
964
965
965
new_from_name = list (only_old_joins )[0 ]
966
966
query .set ("from" , exp .From (this = old_joins [new_from_name ].this ))
You can’t perform that action at this time.
0 commit comments