Skip to content

Commit 1668883

Browse files
authored
Vector Index Local KMeans with one scan (#16909)
1 parent 0b84ae0 commit 1668883

File tree

6 files changed

+630
-320
lines changed

6 files changed

+630
-320
lines changed

ydb/core/tx/datashard/datashard_ut_local_kmeans.cpp

Lines changed: 250 additions & 17 deletions
Large diffs are not rendered by default.

ydb/core/tx/datashard/datashard_ut_prefix_kmeans.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -291,19 +291,6 @@ Y_UNIT_TEST_SUITE (TTxDataShardPrefixKMeansScan) {
291291
DoBadRequest(server, sender, ev, 2, VectorIndexSettings::VECTOR_TYPE_FLOAT,
292292
VectorIndexSettings::METRIC_UNSPECIFIED);
293293
}
294-
// TODO(mbkkt) For now all build_index, sample_k, build_columns, local_kmeans, prefix_kmeans doesn't really check this
295-
// {
296-
// auto ev = std::make_unique<TEvDataShard::TEvPrefixKMeansRequest>();
297-
// auto snapshotCopy = snapshot;
298-
// snapshotCopy.Step++;
299-
// DoBadRequest(server, sender, ev);
300-
// }
301-
// {
302-
// auto ev = std::make_unique<TEvDataShard::TEvPrefixKMeansRequest>();
303-
// auto snapshotCopy = snapshot;
304-
// snapshotCopy.TxId++;
305-
// DoBadRequest(server, sender, ev);
306-
// }
307294
}
308295

309296
Y_UNIT_TEST (BuildToPosting) {

0 commit comments

Comments
 (0)