[MOD-9264] Elaborate preprocessors API
Changes
preprocessStorageInPlace(blob, processed_bytes_count) Implementation:
This pull request introduces the preprocessStorageInPlace capability to the preprocessor interface, enabling in-place modification of storage blobs.
- Added
preprocessStorageInPlaceto thePreprocessorInterfaceinpreprocessors.h. - Implemented
preprocessStorageInPlaceforMultiPreprocessorsContainerandCosinePreprocessorclasses. - Integrated
preprocessStorageInPlace(blob)in theVecSimIndexAbstractclass for in-place blob preprocessing.
Factory Updates:
Additionally, it refactors parameter creation for preprocessors in the index factory by splitting it into a separate function, to allow CreatePreprocessorsContainer to be called independently of CreateIndexComponents.
- Introduced
CreatePreprocessorsContainerParamsincomponents_factory.cpp(new file)
Codecov Report
Attention: Patch coverage is 33.33333% with 12 lines in your changes missing coverage. Please review.
Project coverage is 96.31%. Comparing base (
b996755) to head (9e937f2). Report is 7 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #628 +/- ##
==========================================
- Coverage 97.19% 96.31% -0.88%
==========================================
Files 106 107 +1
Lines 5702 5759 +57
==========================================
+ Hits 5542 5547 +5
- Misses 160 212 +52
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Successfully created backport PR for 8.0:
- #645