ClickHouse/tests
Robert Schulze cc0c0c6133
A better alternative to #46344
The (experimental) inverted index writes/reads files different from the
standard files written by the other skip indexes. The original problem
was that with database engine "ordinary", DROP TABLE of a table with
inverted index finds unknown files in persistence and complains. The
same will happen with engine "atomic" but deferred. As a hotfix, the
error was silenced by explicitly adding the four files created in a
specific test to the deletion code.

This PR tries a cleaner solution where all needed files are provided via
the normal checksum structure. One drawback remains which is that the
affected files were written earlier and we don't have their checksums
available. Therefore, the inverted index is currently excluded from
CHECK TABLE.

Minimal repro:
  SET allow_experimental_inverted_index = 1;
  DROP TABLE IF EXISTS tab;
  CREATE TABLE tab(s String, INDEX af(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY s;
  INSERT INTO tab VALUES ('Alick a01');
  CHECK TABLE tab;
  DROP TABLE IF EXISTS tab;

  run ./clickhouse-test with --db-engine Ordinary
2023-02-26 21:06:38 +00:00
..
ci Merge pull request #46736 from ClickHouse/pending-on-rerun 2023-02-25 00:39:44 +03:00
config Update prefetch_settings.xml 2023-02-23 19:23:02 +01:00
fuzz
instructions
integration Merge pull request #46888 from vitlibar/fix-test_async_backups_to_same_destination 2023-02-26 11:36:18 +03:00
jepsen.clickhouse
perf_drafts
performance Merge pull request #45364 from nickitat/aggr_partitions_independently 2023-02-19 17:44:18 +03:00
queries A better alternative to #46344 2023-02-26 21:06:38 +00:00
.gitignore
.rgignore
clickhouse-test Update clickhouse-test 2023-02-23 20:20:29 +03:00
CMakeLists.txt
msan_suppressions.txt
tsan_suppressions.txt
ubsan_suppressions.txt