Skip to content

Commit 029656c

Browse files
NOSNSOW: Fix test_select_star_after_cached_parent when CTE optimization is disabled (#4227)
1 parent a73cd0d commit 029656c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integ/test_reduce_describe_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def test_select_star_after_cached_parent(session):
683683
assert parent_attrs is not None
684684

685685
df2 = df.select("*")
686-
if session.reduce_describe_query_enabled:
686+
if session.reduce_describe_query_enabled and session.cte_optimization_enabled:
687687
assert df2._plan._metadata.attributes is not None
688688
check_attributes_equality(df2._plan._metadata.attributes, parent_attrs)
689689
else:

0 commit comments

Comments
 (0)