Skip to content

Conversation

zabetak
Copy link
Member

@zabetak zabetak commented Sep 22, 2025

Why are the changes needed?

Avoid interference between AST and CBO based materialization of common table expressions (CTEs). More details in HIVE-29217.

Does this PR introduce any user-facing change?

Yes but highly unlikely. Users may see plan/perf changes if they set/rely on the experimental property hive.optimize.cte.suggester.class and they expect both AST and CBO materialization to trigger sequentially one after the other.

How was this patch tested?

Existing plus new tests.

mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile_regex=.*cte.*
mvn test -Dtest=TestTezTPCDS30TBPerfCliDriver

Copy link

sonarqubecloud bot commented Oct 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants