We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eac737c commit 25ad489Copy full SHA for 25ad489
bigframes/core/compile/sqlglot/sqlglot_ir.py
@@ -267,7 +267,7 @@ def join(
267
) -> SQLGlotIR:
268
"""Joins the current query with another SQLGlotIR instance."""
269
left_select, left_cte_name = self._select_to_cte()
270
- right_select, right_cte_name = self._select_to_cte()
+ right_select, right_cte_name = right._select_to_cte()
271
272
left_select, left_ctes = _pop_query_ctes(left_select)
273
right_select, right_ctes = _pop_query_ctes(right_select)
0 commit comments