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 FIXUP: Add arrayPartialSort and arrayPartialReverseSort to fuzzer corpus 2023-02-16 17:59:12 +00:00
instructions Remove unneeded softlink to official dev docs 2023-01-02 13:54:15 +00:00
integration Merge pull request #46888 from vitlibar/fix-test_async_backups_to_same_destination 2023-02-26 11:36:18 +03:00
jepsen.clickhouse Fix bash 2023-01-09 07:01:20 +01:00
perf_drafts Replace yandex to clickhouse in configs 2021-09-25 07:08:34 +03:00
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 Support jijna templates for sql files in clickhouse-test 2021-07-20 16:40:04 +03:00
.rgignore Add .rgignore for test data 2022-10-25 05:20:16 +02:00
clickhouse-test Update clickhouse-test 2023-02-23 20:20:29 +03:00
CMakeLists.txt Disable clickhouse-tests by default 2022-03-22 11:10:00 +01:00
msan_suppressions.txt Merge branch 'master' into remove-msan-suppressions-5 2021-04-13 00:15:05 +03:00
tsan_suppressions.txt Merge branch 'master' into update_cassandra 2021-01-20 14:15:53 +03:00
ubsan_suppressions.txt Add ubsan suppression for protobuf (#31835) 2021-11-26 11:36:36 +03:00