-
Notifications
You must be signed in to change notification settings - Fork 609
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(sink): infer internal table for kv log store in sink #10065
Conversation
Codecov Report
@@ Coverage Diff @@
## main #10065 +/- ##
==========================================
- Coverage 69.95% 69.94% -0.01%
==========================================
Files 1307 1307
Lines 223475 223612 +137
==========================================
+ Hits 156327 156410 +83
- Misses 67148 67202 +54
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
IIRC during our discussion, we need a vnode column? @wenym1
.add_order_column(SEQ_ID_COLUMN_INDEX, OrderType::ascending_nulls_last()); | ||
let read_prefix_len_hint = table_catalog_builder.get_current_pk_len(); | ||
|
||
let value_indices = table_catalog_builder.extend_columns(&self.sink_desc().columns); |
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.
I just tried running with kv log store. It fails because the value_indices of predefined columns are not included here.
We should fix it before merging into main.
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.
Fixed.
Co-authored-by: William Wen <william123.wen@gmail.com> Co-authored-by: William Wen <44139337+wenym1@users.noreply.github.com>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Infer the internal table for kv log store in sink. The sink executor can construct a kv log store based on the internal table.
Checklist For Contributors
./risedev check
(or alias,./risedev c
)Checklist For Reviewers
Documentation
Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.
Release note