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(stream): migrate ProjectExecutor to ExecutorV2 #1810

Merged
merged 4 commits into from
Apr 13, 2022

Conversation

WindowsXp-Beta
Copy link
Contributor

What's changed and what's your intention?

PLEASE DO NOT LEAVE THIS EMPTY !!!

Please explain IN DETAIL what the changes are in this PR and why they are needed:

  • Summarize your change (mandatory)
  • migrate ProjectExecutor to v2

Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

close #1393

@WindowsXp-Beta WindowsXp-Beta changed the title stream: migrate ProjectExecutor to ExecutorV2 feat(stream): migrate ProjectExecutor to ExecutorV2 Apr 13, 2022
@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #1810 (1efd827) into main (2b568b5) will increase coverage by 0.11%.
The diff coverage is 94.87%.

@@            Coverage Diff             @@
##             main    #1810      +/-   ##
==========================================
+ Coverage   71.24%   71.36%   +0.11%     
==========================================
  Files         605      606       +1     
  Lines       78907    79165     +258     
==========================================
+ Hits        56220    56494     +274     
+ Misses      22687    22671      -16     
Flag Coverage Δ
rust 71.36% <94.87%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/stream/src/executor/mod.rs 56.38% <ø> (-0.88%) ⬇️
src/stream/src/executor/test_utils.rs 65.25% <ø> (-5.39%) ⬇️
src/stream/src/executor_v2/mod.rs 61.22% <ø> (ø)
src/stream/src/executor_v2/project.rs 93.60% <93.60%> (ø)
src/stream/src/executor/integration_tests.rs 95.70% <100.00%> (+0.02%) ⬆️
src/stream/src/executor/project.rs 100.00% <100.00%> (+12.90%) ⬆️
src/stream/src/executor_v2/v1_compat.rs 39.07% <100.00%> (+4.98%) ⬆️
src/meta/src/model/mod.rs 95.58% <0.00%> (-2.84%) ⬇️
src/meta/src/stream/graph/fragment_graph.rs 96.94% <0.00%> (-0.32%) ⬇️
... and 8 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Comment on lines +69 to +75
impl Debug for SimpleProjectExecutor {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
f.debug_struct("ProjectExecutor")
.field("exprs", &self.exprs)
.finish()
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Seems unnecessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I referred to filter.rs and it implements the Debug trait.

@skyzh skyzh merged commit 50f51fd into main Apr 13, 2022
@skyzh skyzh deleted the WindowsXp/migrate-projector-executor branch April 13, 2022 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stream: migrate ProjectExecutor to ExecutorV2
3 participants