Skip to content

[SPARK-47818][CONNECT][FOLLOW-UP] Introduce plan cache in SparkConnectPlanner to improve performance of Analyze requests - #46638

Closed
xi-db wants to merge 1 commit into
apache:masterfrom
xi-db:SPARK-47818-plan-cache-followup2
Closed

[SPARK-47818][CONNECT][FOLLOW-UP] Introduce plan cache in SparkConnectPlanner to improve performance of Analyze requests#46638
xi-db wants to merge 1 commit into
apache:masterfrom
xi-db:SPARK-47818-plan-cache-followup2

Conversation

@xi-db

@xi-db xi-db commented May 17, 2024

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

In this previous PR, we introduced two new confs for the introduced plan cache - a static conf spark.connect.session.planCache.maxSize and a dynamic conf spark.connect.session.planCache.enabled. The plan cache is enabled by default with size 5. In this PR, we are marking them as internal because we don't expect users to deal with it.

Why are the changes needed?

These two confs are not expected to be used under normal circumstances, and we don't need to document them on the Spark Configuration reference page.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests.

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

No.

@vicennial vicennial left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@vicennial

Copy link
Copy Markdown
Contributor

cc @hvanhovell

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.

3 participants