Skip to content

Commit

Permalink
Add missing return statement
Browse files Browse the repository at this point in the history
Since we error here should return too
  • Loading branch information
anthony-chaudhary committed Aug 25, 2023
1 parent d4426bf commit a2fb0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/query_engine/sqlalchemy_query_exectutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ def compare_expr(self, *args):
local_tree = args[0]
if len(local_tree.children) != 3:
self.log['error']['compare_expr'] = f"Invalid compare expression {str(args)}"

return

children = local_tree.children

compare_expression: CompareExpression = self.init_compare_expression(children)
Expand Down

0 comments on commit a2fb0d4

Please sign in to comment.