feat(metric-engine): introduce RowModifier for MetricEngine#5380
feat(metric-engine): introduce RowModifier for MetricEngine#5380fengjiachun merged 9 commits intoGreptimeTeam:mainfrom
RowModifier for MetricEngine#5380Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
e8cff64 to
06e0142
Compare
Encoder for MetricEngineRowModifier for MetricEngine
06e0142 to
f33e4b5
Compare
RowModifier for MetricEngineRowModifier for MetricEngine
f33e4b5 to
657542e
Compare
* feat(metric-engine): store physical table ColumnIds in `MetricEngineState` * feat(metric-engine): introduce `RowModifier` for MetricEngine * chore: upgrade greptime-proto * feat: introduce `WriteHint` to `RegionPutRequest` * chore: apply suggestions from CR * chore: udpate greptime-proto * chore: apply suggestions from CR * chore: add comments * chore: update proto
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
#5282
What's changed and what's your intention?
Introduce
RowModifierfor MetricEngine. It modifies rows for different primary key encoding.For
PrimaryKeyEncoding::Sparseencoding, the primary key columns are replaced with the encoded primary key column(__encoded_primary_key). ForPrimaryKeyEncoding::Denseencoding, it adds two columns(__table_id,__tsid) to the row.PR Checklist
Please convert it to a draft if some of the following conditions are not met.