star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

enhance(datastore): support deleting by key range or prefix #3103

Open jialeicui opened 9 months ago

jialeicui commented 9 months ago

Description

depends on #3093

Modules

Checklist

codecov[bot] commented 9 months ago

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (cf58e90) 82.68% compared to head (3cc5218) 82.73%. Report is 4 commits behind head on main.

Files Patch % Lines
...tarwhale/mlops/datastore/impl/MemoryTableImpl.java 89.83% 6 Missing and 12 partials :warning:
...n/java/ai/starwhale/mlops/datastore/DataStore.java 56.25% 13 Missing and 1 partial :warning:
...n/java/ai/starwhale/mlops/datastore/Tombstone.java 82.05% 2 Missing and 5 partials :warning:
.../starwhale/mlops/datastore/impl/RecordDecoder.java 0.00% 5 Missing :warning:
...va/ai/starwhale/mlops/api/DataStoreController.java 87.50% 1 Missing :warning:
.../java/ai/starwhale/mlops/datastore/Checkpoint.java 93.75% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3103 +/- ## ============================================ + Coverage 82.68% 82.73% +0.05% - Complexity 3182 3263 +81 ============================================ Files 573 578 +5 Lines 31969 32359 +390 Branches 1865 1916 +51 ============================================ + Hits 26433 26773 +340 - Misses 4712 4740 +28 - Partials 824 846 +22 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/3103/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/3103/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `72.09% <ø> (ø)` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/3103/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `73.55% <83.85%> (+0.18%)` | :arrow_up: | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/3103/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `91.88% <100.00%> (+0.02%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/3103/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `91.62% <100.00%> (+0.02%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.