Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORE][VL] Cost model code refactors #8541

Merged
merged 7 commits into from
Jan 16, 2025

Conversation

zhztheplayer
Copy link
Member

Add new independent trait GlutenCostModel so legacy transition planner's cost model code doesn't have to depend on RAS cost model code.

After the change, both legacy transition planner and RAS optimizer will rely on GlutenCostModel through their own API adapters.

Also, make costers be registered directly through a individual API of Component. This will enable the code to create cost model from anywhere without having a Spark session started in advance.

@github-actions github-actions bot added CORE works for Gluten Core VELOX CLICKHOUSE labels Jan 15, 2025
@apache apache deleted a comment from github-actions bot Jan 15, 2025
@apache apache deleted a comment from github-actions bot Jan 15, 2025
Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link
Contributor

@zhouyuan zhouyuan left a comment

Choose a reason for hiding this comment

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

a big refactor!
+1 assuming CI green

@zhztheplayer zhztheplayer merged commit 1520458 into apache:main Jan 16, 2025
46 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLICKHOUSE CORE works for Gluten Core VELOX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants