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(state_table): remove pk in state_table insert_row/delete_row #3107

Merged
merged 9 commits into from
Jun 14, 2022

Conversation

wcy-fdu
Copy link
Contributor

@wcy-fdu wcy-fdu commented Jun 9, 2022

What's changed and what's your intention?

As title.

Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)

@wcy-fdu wcy-fdu marked this pull request as draft June 9, 2022 09:38
@wcy-fdu wcy-fdu marked this pull request as ready for review June 12, 2022 02:52
@codecov
Copy link

codecov bot commented Jun 14, 2022

Codecov Report

Merging #3107 (acf916e) into main (84a1e8c) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3107      +/-   ##
==========================================
- Coverage   73.57%   73.49%   -0.08%     
==========================================
  Files         745      745              
  Lines      102240   101952     -288     
==========================================
- Hits        75223    74930     -293     
- Misses      27017    27022       +5     
Flag Coverage Δ
rust 73.49% <100.00%> (-0.08%) ⬇️

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

Impacted Files Coverage Δ
src/stream/src/executor/mview/materialize.rs 89.43% <ø> (-0.08%) ⬇️
src/storage/src/table/state_table.rs 82.75% <100.00%> (+0.61%) ⬆️
src/storage/src/table/test_relational_table.rs 98.09% <100.00%> (-0.14%) ⬇️
...am/src/executor/managed_state/aggregation/value.rs 94.30% <100.00%> (ø)
src/stream/src/executor/mview/test_utils.rs 100.00% <100.00%> (ø)
src/storage/src/table/mem_table.rs 64.51% <0.00%> (-8.07%) ⬇️
src/meta/src/hummock/mock_hummock_meta_client.rs 42.39% <0.00%> (-1.09%) ⬇️
src/common/src/types/ordered_float.rs 24.70% <0.00%> (-0.20%) ⬇️
src/storage/src/hummock/local_version_manager.rs 83.86% <0.00%> (-0.16%) ⬇️

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

Comment on lines 137 to 139
let cell_based_start_key = Included(self.keyspace.key().to_vec());
let cell_based_end_key = Excluded(next_key(self.keyspace.key()));
let cell_based_bounds = (cell_based_start_key, cell_based_end_key);
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this be fixed in another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The former is merged.

@wcy-fdu wcy-fdu merged commit 74d8f6e into main Jun 14, 2022
@wcy-fdu wcy-fdu deleted the wcy_refactor branch June 14, 2022 09:40
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.

None yet

2 participants