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

MINOR: rename optimizer rule to ScalarSubqueryToJoin #3306

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

kmitchener
Copy link
Contributor

@kmitchener kmitchener commented Aug 31, 2022

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Just renames optimizer rule DecorrelateScalarSubquery to ScalarSubqueryToJoin to more accurately reflect what it's doing. Per request of @avantgardnerio during discussion of #3287.

Are there any user-facing changes?

No

@github-actions github-actions bot added core Core DataFusion crate optimizer Optimizer rules labels Aug 31, 2022
Copy link
Member

@jackwener jackwener left a comment

Choose a reason for hiding this comment

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

It's reasonable to me.

@codecov-commenter
Copy link

Codecov Report

Merging #3306 (990b191) into master (fcd2275) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3306   +/-   ##
=======================================
  Coverage   85.74%   85.75%           
=======================================
  Files         294      294           
  Lines       53738    53749   +11     
=======================================
+ Hits        46080    46092   +12     
+ Misses       7658     7657    -1     
Impacted Files Coverage Δ
datafusion/core/src/execution/context.rs 78.24% <100.00%> (ø)
...atafusion/optimizer/src/scalar_subquery_to_join.rs 93.07% <100.00%> (ø)
datafusion/optimizer/tests/integration-test.rs 84.00% <100.00%> (ø)
datafusion/expr/src/window_frame.rs 92.43% <0.00%> (-0.85%) ⬇️
datafusion/expr/src/logical_plan/plan.rs 78.73% <0.00%> (ø)
datafusion/common/src/scalar.rs 84.71% <0.00%> (+0.06%) ⬆️
datafusion/proto/src/to_proto.rs 51.07% <0.00%> (+0.08%) ⬆️
datafusion/proto/src/lib.rs 93.52% <0.00%> (+0.11%) ⬆️
datafusion/proto/src/from_proto.rs 35.13% <0.00%> (+0.11%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thanks @kmitchener

@alamb alamb merged commit 516ad0d into apache:master Aug 31, 2022
@ursabot
Copy link

ursabot commented Aug 31, 2022

Benchmark runs are scheduled for baseline = 312a7dd and contender = 516ad0d. 516ad0d is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@andygrove andygrove added the api change Changes the API exposed to users of the crate label Sep 2, 2022
@kmitchener kmitchener deleted the rename-optimizer-rule branch September 4, 2022 12:59
kmitchener added a commit to kmitchener/arrow-datafusion that referenced this pull request Sep 4, 2022
* rename DecorrelateScalarSubquery to ScalarSubqueryToJoin

* cargo fmt

* fix name and ref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate core Core DataFusion crate optimizer Optimizer rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants