Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aalam committed Sep 17, 2024
1 parent 7ae2c33 commit 1689ebf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def cumulative_node_complexity(self, value: Dict[PlanNodeCategory, int]):
self._cumulative_node_complexity = value

def __copy__(self) -> "SnowflakePlan":
if self.session.cte_optimization_enabled:
if self.session._cte_optimization_enabled:
return SnowflakePlan(
copy.deepcopy(self.queries) if self.queries else [],
self.schema_query,
Expand Down

0 comments on commit 1689ebf

Please sign in to comment.