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

[refactor](pipeline) Refactor pipeline execution #39982

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

Gabriel39
Copy link
Contributor

@Gabriel39 Gabriel39 commented Aug 27, 2024

Proposed changes

Unify prepare and open in Operator.

@Gabriel39
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@@ -231,7 +231,8 @@ Status AnalyticSinkOperatorX::init(const TPlanNode& tnode, RuntimeState* state)
return Status::OK();
}

Status AnalyticSinkOperatorX::prepare(RuntimeState* state) {
Status AnalyticSinkOperatorX::open(RuntimeState* state) {
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: method 'open' can be made const [readability-make-member-function-const]

Suggested change
Status AnalyticSinkOperatorX::open(RuntimeState* state) {
Status AnalyticSinkOperatorX::open(RuntimeState* state) const {

be/src/pipeline/exec/analytic_sink_operator.h:76:

-     Status open(RuntimeState* state) override;
+     Status open(RuntimeState* state) const override;

@Gabriel39
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@Gabriel39
Copy link
Contributor Author

run buildall

@Gabriel39
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 5, 2024
Copy link
Contributor

github-actions bot commented Sep 5, 2024

PR approved by at least one committer and no changes requested.

Copy link
Contributor

github-actions bot commented Sep 5, 2024

PR approved by anyone and no changes requested.

@Gabriel39 Gabriel39 merged commit 5571a04 into apache:master Sep 6, 2024
22 of 28 checks passed
Gabriel39 added a commit to Gabriel39/incubator-doris that referenced this pull request Oct 11, 2024
Unify `prepare` and `open` in `Operator`.
Gabriel39 added a commit to Gabriel39/incubator-doris that referenced this pull request Oct 14, 2024
Unify `prepare` and `open` in `Operator`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/3.0.3-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants