Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ea-rus committed Nov 1, 2024
1 parent b4b3263 commit c5cb9df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mindsdb_sql/planner/plan_join.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def plan(self, query):
query2 = copy.deepcopy(query)
query2.from_table = None
query2.using = None
query2.cte = None
sup_select = QueryStep(query2, from_table=join_step.result)
self.planner.plan.add_step(sup_select)
return sup_select
Expand Down Expand Up @@ -368,7 +369,8 @@ def process_subselect(self, item):
self.step_stack.append(step2)

def process_table(self, item, query_in):
table = Identifier(parts=[item.integration] + item.table.parts)
table = copy.deepcopy(item.table)
table.parts.insert(0, item.integration)
query2 = Select(from_table=table, targets=[Star()])
# parts = tuple(map(str.lower, table_name.parts))
conditions = item.conditions
Expand Down

0 comments on commit c5cb9df

Please sign in to comment.