-
Notifications
You must be signed in to change notification settings - Fork 598
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
perf(stream): set noop_update_hint
when jsonb access exists
#18065
Conversation
Signed-off-by: Richard Chien <[email protected]>
Signed-off-by: Richard Chien <[email protected]>
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.
Kind of hack to me 🥵
Can we make it heuristic? Like, do the compaction at first, if there's no such no-op updates for a while, we can turn off automatically. We can still do compaction from time to time so that we can turn on again. |
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. Should we do this for all projects where the output columns do not include all the input 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.
Generally LGTM. It seems useful when mongodb source and schemaless kafka source are used,
Signed-off-by: Richard Chien <[email protected]>
Signed-off-by: Richard Chien <[email protected]>
Signed-off-by: Richard Chien <[email protected]> (cherry picked from commit ed73a52)
Signed-off-by: Richard Chien <[email protected]> (cherry picked from commit ed73a52)
Signed-off-by: Richard Chien <[email protected]> (cherry picked from commit ed73a52)
#18412) Co-authored-by: Richard Chien <[email protected]>
Signed-off-by: Richard Chien <[email protected]> (cherry picked from commit ed73a52)
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As noted by a customer, we cannot eliminate the no-op
Update
s if the query is simple extracting fields from ajsonb
payload. It's very likely that the payload changed but the needed fields are not changed. This PR set the no-op updates hint for such cases.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.