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

feat: Simplify configs for enabling/disabling operators #855

Merged
merged 18 commits into from
Aug 21, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Aug 20, 2024

Which issue does this PR close?

N/A

Rationale for this change

Simplify configs so that there is one "enabled" config per oeprator, defaulting to true. We can disable operators by setting to false.

What changes are included in this PR?

How are these changes tested?

@andygrove andygrove requested a review from viirya August 20, 2024 17:08
@@ -1240,7 +1235,7 @@ class CometExecSuite extends CometTestBase {
.saveAsTable("bucketed_table2")

withSQLConf(
"spark.comet.exec.sortMergeJoin.disabled" -> "true",
CometConf.COMET_EXEC_SORT_MERGE_JOIN_ENABLED.key -> "false",
Copy link
Contributor

Choose a reason for hiding this comment

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

true -> false change, is it related?

Copy link
Member

Choose a reason for hiding this comment

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

This is to disable sort merge join. Previously it is a disabled config. Now it is enabled config.

Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

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

lgtm

@viirya viirya merged commit fbf389c into apache:main Aug 21, 2024
74 checks passed
@viirya
Copy link
Member

viirya commented Aug 21, 2024

Thanks @andygrove @parthchandra @comphead

@andygrove andygrove deleted the config-change branch August 21, 2024 20:00
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* stop unpacking dictionaries for hash join input

* simply configs

* Revert

* simplify configs

* code cleanup and revert changes to FilterExec

* Revert

* revert

* cargo update

* add comment

* update plans

* update tests

* enable stddev

* revert plan changes

* update configs

* revert unrelated changes

(cherry picked from commit fbf389c)
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.

4 participants