Skip to content

Conversation

@mihailoale-db
Copy link
Contributor

What changes were proposed in this pull request?

If a ANALYZER_DUAL_RUN_LEGACY_AND_SINGLE_PASS_RESOLVER conf is explicitly set during view creation, we store it, but we might not want to. When we query that view, stored value is used, which we forbid in order to avoid any accidental failures. We do the same for ANALYZER_SINGLE_PASS_RESOLVER_ENABLED_TENTATIVELY.

Why are the changes needed?

To make single-pass resolver runs more stable.

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Added tests.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the SQL label Aug 11, 2025
@mihailoale-db mihailoale-db changed the title [SPARK-53244] Don't store dual-run enabled and tentative mode enabled confs during view creation [SPARK-53244] [SQL] Don't store dual-run enabled and tentative mode enabled confs during view creation Aug 11, 2025
@mihailoale-db
Copy link
Contributor Author

Failures not related to the PR. @cloud-fan could you ptal? Thanks!

@cloud-fan
Copy link
Contributor

failed tests unrelated, thanks, merging to master!

@cloud-fan cloud-fan closed this in 1bc8ce0 Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants