Skip to content

Commit

Permalink
combining queries traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
ea-rus committed Nov 10, 2024
1 parent 70146e8 commit fbb913d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mindsdb_sql/planner/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def query_traversal(node, callback, is_table=False, is_target=False, parent_quer
array.append(node_out)
node.order_by = array

elif isinstance(node, ast.Union):
elif isinstance(node, (ast.Union, ast.Intersect, ast.Except)):
node_out = query_traversal(node.left, callback, parent_query=node)
if node_out is not None:
node.left = node_out
Expand Down

0 comments on commit fbb913d

Please sign in to comment.