ClickHouse/tests
Robert Schulze cc5c64e1ed
Add migration helper for legacy 'annoy' and 'usearch' indexes types
Index types 'annoy' and 'usearch' were removed and replaced by
'vector_similarity' indexes in an earlier commit.

This means unfortuantely, that if customers have tables with these
indexes and upgrade, their database might not start anymore - the
system loads the metadata at startup, thinks something is wrong with
such tables, and halts immediately.

This commit adds support for loading and attaching such indexes back.
Data insert or use (search) return an error which recommends a migration
to 'vector_similarity' indexes. The implementation is generally similar
to what has recently been implemented for 'full_text' indexes [1, 2].

[1] https://github.com/ClickHouse/ClickHouse/pull/64656
[2] https://github.com/ClickHouse/ClickHouse/pull/64846
2024-08-12 15:31:27 +00:00
..
ci
config
fuzz
instructions
integration
jepsen.clickhouse
perf_drafts
performance
queries Add migration helper for legacy 'annoy' and 'usearch' indexes types 2024-08-12 15:31:27 +00:00
sqllogic
.gitignore
.rgignore
analyzer_tech_debt.txt Fix a test 2024-06-22 20:17:58 +02:00
clickhouse-test
output.txt
README.md
result
tsan_ignorelist.txt
ubsan_ignorelist.txt

Find CI documents and instructions on running CI checks locally here.