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

Simplify creation of join operator #13783

Merged

Conversation

skrzypo987
Copy link
Member

Description

Is this change a fix, improvement, new feature, refactoring, or other?

refactoring

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

core query engine

How would you describe this change to a non-technical end user or system administrator?

nothing worth mentioning

Related issues, pull requests, and links

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 22, 2022
@skrzypo987 skrzypo987 requested a review from sopel39 August 22, 2022 20:31
@skrzypo987 skrzypo987 force-pushed the skrzypo/110-clean-up-join-hierarchy branch from 0dcd9d6 to 842304b Compare August 24, 2022 07:37
@skrzypo987 skrzypo987 requested a review from sopel39 August 24, 2022 07:39
@skrzypo987
Copy link
Member Author

Made the changes you proposed. Indeed it is much more readable now

@skrzypo987
Copy link
Member Author

Additionally, more lines are removed than added.

@skrzypo987 skrzypo987 force-pushed the skrzypo/110-clean-up-join-hierarchy branch from 842304b to 335b0a5 Compare August 31, 2022 06:21
@skrzypo987 skrzypo987 requested a review from sopel39 August 31, 2022 06:22
@skrzypo987 skrzypo987 force-pushed the skrzypo/110-clean-up-join-hierarchy branch 2 times, most recently from 77ae5bf to 8285a1f Compare September 5, 2022 07:50
@skrzypo987 skrzypo987 requested a review from sopel39 September 5, 2022 07:51
@skrzypo987 skrzypo987 force-pushed the skrzypo/110-clean-up-join-hierarchy branch from 8285a1f to 8068553 Compare September 5, 2022 11:14
skrzypo987 added 2 commits September 5, 2022 18:59
This makes further refactorings easier to read.
Since the split into spilling and non-spilling, creation of join operators had
some unnecessary casting. This commit cleans it and makes clear
spilling/non-spilling code paths in LocalExecutionPlanner.

Changes in this class are strictly mechanical. No logical changes are made.
@skrzypo987 skrzypo987 force-pushed the skrzypo/110-clean-up-join-hierarchy branch from 8068553 to 1c8f7c2 Compare September 5, 2022 16:09
@sopel39 sopel39 merged commit 3e28732 into trinodb:master Sep 5, 2022
@github-actions github-actions bot added this to the 395 milestone Sep 5, 2022
OptionalInt totalOperatorsCount,
PartitioningSpillerFactory partitioningSpillerFactory,
BlockTypeOperators blockTypeOperators);
public static class JoinOperatorType
Copy link
Contributor

Choose a reason for hiding this comment

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

Modifier 'public' is redundant for interface members
Modifier 'static' is redundant for inner classes of interfaces

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I wonder why InteliJ did not notice this.

Copy link
Contributor

Choose a reason for hiding this comment

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

I've InteliJ Ultimate - and it's not that I'm an eagle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants