Skip to content

Conversation

@peter-toth
Copy link
Contributor

@peter-toth peter-toth commented Sep 27, 2023

What changes were proposed in this pull request?

This PR proposes bottum-up resolution in ResolveFunctions, which is much faster (requires less number of resolution rounds) if we have deeply nested UnresolvedFunctions. These structures are more likely to occur after #42864.

Why are the changes needed?

Performance optimization.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

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

No.

@github-actions github-actions bot added the SQL label Sep 27, 2023
@peter-toth peter-toth changed the title [WIP][SPARK-45354][SQL] Resolve functions bottom-up [SPARK-45354][SQL] Resolve functions bottom-up Sep 27, 2023
@peter-toth
Copy link
Contributor Author

cc @cloud-fan

Copy link
Contributor

@cloud-fan cloud-fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@peter-toth
Copy link
Contributor Author

Thanks for the review @cloud-fan! Merged to master.

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