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(batch): Remove unnecessary executor #2548

Merged
merged 2 commits into from
May 16, 2022

Conversation

liurenjie1024
Copy link
Contributor

What's changed and what's your intention?

Remove unnecessary executor after removing legacy java client.

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)

create_table.open().await?;
create_table.next().await?;
create_table.close().await?;
// let mut create_table = CreateTableExecutor::new(
Copy link
Contributor

Choose a reason for hiding this comment

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

Just delete them if not used.

Copy link
Member

Choose a reason for hiding this comment

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

FYI, I fixed this test in this PR: #2550

@liurenjie1024
Copy link
Contributor Author

After this PR merged, we've got to restore several test:

  1. test_table_v2_materialize cc @BugenZhao
  2. task/test_util.rs cc @neverchanje

Copy link
Member

@BugenZhao BugenZhao left a comment

Choose a reason for hiding this comment

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

Cool!

Comment on lines 87 to 88
// #[tokio::test]
#[allow(dead_code)]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// #[tokio::test]
#[allow(dead_code)]
#[ignore]
#[tokio::test]

}),
}
}
// fn build_create_table_plan(&self) -> PlanFragment {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this file still usable? @neverchanje

Copy link
Contributor

@neverchanje neverchanje May 16, 2022

Choose a reason for hiding this comment

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

I've confirmed that this file is completely unused. Pls remove them.

@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #2548 (fc00b79) into main (0b943c4) will increase coverage by 0.08%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2548      +/-   ##
==========================================
+ Coverage   71.40%   71.48%   +0.08%     
==========================================
  Files         689      685       -4     
  Lines       88555    88385     -170     
==========================================
- Hits        63230    63183      -47     
+ Misses      25325    25202     -123     
Flag Coverage Δ
rust 71.48% <0.00%> (+0.08%) ⬆️

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

Impacted Files Coverage Δ
src/batch/src/executor/mod.rs 58.42% <ø> (ø)
src/batch/src/task/test_utils.rs 0.00% <0.00%> (ø)
src/batch/src/executor2/executor_wrapper.rs 0.00% <0.00%> (-66.67%) ⬇️
src/storage/src/cell_based_row_serializer.rs 55.81% <0.00%> (-2.33%) ⬇️
src/stream/src/executor/source.rs 84.76% <0.00%> (-1.00%) ⬇️
src/storage/src/table/cell_based_table.rs 92.49% <0.00%> (-0.35%) ⬇️
src/connector/src/filesystem/file_common.rs 80.80% <0.00%> (+0.44%) ⬆️

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

@liurenjie1024 liurenjie1024 merged commit 281d00f into main May 16, 2022
@liurenjie1024 liurenjie1024 deleted the refactor/remove_unused_executor branch May 16, 2022 05:43
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.

5 participants