-
Notifications
You must be signed in to change notification settings - Fork 590
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: support multiple sinks into table #13659
Conversation
91de787
to
dfe4e5e
Compare
for input in &mut node.input { | ||
if let Some(NodeBody::Merge(merge_node)) = &mut input.node_body && merge_node.upstream_actor_id.is_empty() { | ||
if let Some(sink_id) = sink_id { | ||
input.identity = format!("MergeExecutor(from sink {})", sink_id); |
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.
we can assign identity of Merger at here cc @st1page
3fd4a57
to
d28527a
Compare
27f3117
to
84af28f
Compare
f07654d
to
b160d0b
Compare
84af28f
to
405e764
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #13659 +/- ##
==========================================
- Coverage 68.06% 68.03% -0.04%
==========================================
Files 1535 1535
Lines 264826 264925 +99
==========================================
- Hits 180266 180234 -32
- Misses 84560 84691 +131
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
405e764
to
3f1e744
Compare
1478dd3
to
0a05844
Compare
3f1e744
to
e7da583
Compare
e7da583
to
821e49a
Compare
…oming sinks in handle_create_sink Implement e2e test for error messages, sink creation, table alteration, query sorting, sink and table dropping. Code changes: Imports, function rename, argument modifications, variable rename, new arguments. fix conflict tmp Signed-off-by: Shanicky Chen <[email protected]>
Signed-off-by: Shanicky Chen <[email protected]>
821e49a
to
2390232
Compare
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
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
For creation, we will re-create the table with n additional merges and connect it to the existing (obtained through TableFragments from fragment manager) and newly built sink’s dispatcher in the meta node.
For dropping, we will re-create the table with n-1 additional merges on the meta node, connect it only with the dispatchers of the other sinks.
Checklist
./risedev check
(or alias,./risedev c
)