From 5e8a2d27e056d1e64428ae1245ff1735a6f2ff8a Mon Sep 17 00:00:00 2001 From: Afroz Alam Date: Tue, 17 Sep 2024 11:49:52 -0700 Subject: [PATCH] add description --- src/snowflake/snowpark/_internal/analyzer/snowflake_plan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/snowflake/snowpark/_internal/analyzer/snowflake_plan.py b/src/snowflake/snowpark/_internal/analyzer/snowflake_plan.py index 52fa940a782..a0679b3df97 100644 --- a/src/snowflake/snowpark/_internal/analyzer/snowflake_plan.py +++ b/src/snowflake/snowpark/_internal/analyzer/snowflake_plan.py @@ -536,7 +536,9 @@ def __init__( # on the optimized plan. During the final query generation, no schema query is needed, # this helps reduces un-necessary overhead for the describing call. self._skip_schema_query = skip_schema_query - # TODO: describe + # Value of cte_optimization_enabled and query_compilation_stage_enabled can change during + # resolution step. We need to cache the value at the beginning of resolve process and use + # the cached value during the plan build process. self._cte_optimization_enabled: Optional[bool] = None self._query_compilation_stage_enabled: Optional[bool] = None