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

[GLUTEN-1369][Core] Move config 'spark.gluten.enabled' to GlutenConfig from QueryPlanSelector #1420

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

zzcclp
Copy link
Contributor

@zzcclp zzcclp commented Apr 19, 2023

What changes were proposed in this pull request?

Move the config 'spark.gluten.enabled' to GlutenConfig from QueryPlanSelector

(Fixes: #1369 )

Close #1369 .

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Move the config 'spark.gluten.enabled' to GlutenConfig
@github-actions
Copy link

#1369

@zzcclp zzcclp requested a review from rui-mo April 19, 2023 10:32
rui-mo
rui-mo previously approved these changes Apr 19, 2023
@@ -254,4 +256,16 @@ class GlutenClickHouseTPCHColumnarShuffleParquetAQESuite
assert(adaptiveSparkPlanExec(1) == adaptiveSparkPlanExec(2))
}
}

test("Test 'spark.gluten.enabled' false") {
withSQLConf(("spark.gluten.enabled", "false")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

is it needed to set spark.gluten.enabled to false and true to run test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not needed, the other test cases run with spark.gluten.enabled true,

@zzcclp
Copy link
Contributor Author

zzcclp commented Apr 20, 2023

it seems there are some networks issue for velox-backend-centos7-test @rui-mo

@zzcclp zzcclp merged commit c3dfda0 into apache:main Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move config 'spark.gluten.enabled' to GlutenConfig
3 participants