Skip to content

Commit 25ad489

Browse files
fix join bug
1 parent eac737c commit 25ad489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigframes/core/compile/sqlglot/sqlglot_ir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def join(
267267
) -> SQLGlotIR:
268268
"""Joins the current query with another SQLGlotIR instance."""
269269
left_select, left_cte_name = self._select_to_cte()
270-
right_select, right_cte_name = self._select_to_cte()
270+
right_select, right_cte_name = right._select_to_cte()
271271

272272
left_select, left_ctes = _pop_query_ctes(left_select)
273273
right_select, right_ctes = _pop_query_ctes(right_select)

0 commit comments

Comments
 (0)