Repository navigation
Conversation
|
Run Gluten Clickhouse CI on x86 |
wecharyu
force-pushed
the
GLUTEN-13833
branch
from
November 28, 2026 15:32
4a09cf0 to
bd810bf
Compare
|
Run Gluten Clickhouse CI on x86 |
Contributor
Author
|
@philo-he @zhztheplayer Could you help review this PR? Thanks! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Fixes #13833.
When an AQE stage gets a custom
ResourceProfile, Spark can launch its executor with the adjusted off-heap size while the task still receives the initial Gluten budgets throughSQLConf. The driver'supdateResourceSetting()can run after Spark has copied the session configuration into job local properties. As a result, Velox can receive a stale per-task budget, and Gluten memory isolation can still enforce the initial limit.This PR computes both budgets on the executor using the effective
SparkEnv.confandTaskContext.cpus(). The native session configuration uses the resulting per-task budget, and the isolated memory target uses the conservative budget. The AQE rule continues to attach the profile to the RDD and no longer writes resource settings into the sessionSQLConf.How was this patch tested?
Add new UT.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex (GPT-6)