From 32f3aef9e3a6afe565a6b003cfe123713416099e Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 6 Mar 2024 22:10:27 +0300 Subject: [PATCH] revert query traversal --- mindsdb_sql/planner/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mindsdb_sql/planner/utils.py b/mindsdb_sql/planner/utils.py index 7973efc4..9d2c9e09 100644 --- a/mindsdb_sql/planner/utils.py +++ b/mindsdb_sql/planner/utils.py @@ -299,6 +299,9 @@ def query_traversal(node, callback, is_table=False, is_target=False, parent_quer array.append(node_out) return array + # keep original node + return None + def convert_join_to_list(join): # join tree to table list