Skip to content

Commit

Permalink
return node in query_traversal. it helps for options like 'where a=1'…
Browse files Browse the repository at this point in the history
… (only one binary operation, and we want to replace it)

mindsdb/mindsdb#8867
  • Loading branch information
ea-rus committed Mar 6, 2024
1 parent 5ad2fa5 commit bf08202
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mindsdb_sql/planner/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ def query_traversal(node, callback, is_table=False, is_target=False, parent_quer
array.append(node_out)
return array

return node


def convert_join_to_list(join):
# join tree to table list
Expand Down

0 comments on commit bf08202

Please sign in to comment.