-
Notifications
You must be signed in to change notification settings - Fork 704
feat(batch): distributed table_v2 insertion & scanning #334
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #334 +/- ##
============================================
- Coverage 74.18% 74.17% -0.01%
Complexity 2679 2679
============================================
Files 861 862 +1
Lines 48666 48707 +41
Branches 1591 1591
============================================
+ Hits 36104 36130 +26
- Misses 11749 11764 +15
Partials 813 813
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
fuyufjh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
skyzh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
| exporter-port: 1224 | ||
| - use: frontend | ||
| - use: minio | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minio should be started at first.
|
Will tuple id be duplicated when two materialized view nodes are placed on the same worker? |
|
LGTM in general. |
There is only one |
What's changed and what's your intention?
This PR fixes some issues and makes distributed table_v2 insertion & scanning work!
Insertion
row_idis generated by local source on each compute node. Since we are storing data of table_v2 on a shared storage,row_idis prepended aworker_idnow for uniqueness.Scanning
Storage
update_local_versionand expose it withinStateStoretrait. Before creating aMViewTableIter, this function is manually called to fetch the latest version.Checklist
Refer to a related PR or issue link (optional)
Close #311.