ClickHouse® is a real-time analytics DBMS
Go to file
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
.github Update .github/workflows/docs_check.yml 2023-02-23 16:33:36 +01:00
base Poco: Remove some dead code 2023-02-23 10:13:07 +00:00
benchmark
cmake Update version to 23.3.1.2537 2023-02-23 19:35:57 +00:00
contrib Merge pull request #46755 from HarryLeeIBM/hlee-s390x-new-libunwind 2023-02-25 00:40:06 +03:00
docker Update version_date.tsv and changelogs after v23.2.1.2537-stable 2023-02-23 19:46:46 +00:00
docs Merge pull request #46752 from ClickHouse/rs/periods-in-kafka-topics 2023-02-26 07:49:28 +01:00
packages Disable timeout logic for starting clickhouse-server from systemd service 2023-02-21 10:08:15 +01:00
programs Remove unused header 2023-02-25 03:21:14 +01:00
rust
src A better alternative to #46344 2023-02-26 21:06:38 +00:00
tests A better alternative to #46344 2023-02-26 21:06:38 +00:00
utils Merge branch 'master' into tests/expect-timeout-fixes 2023-02-24 23:07:45 +03:00
.clang-format
.clang-tidy
.editorconfig
.exrc
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.pylintrc
.snyk
.yamllint
AUTHORS
CHANGELOG.md Edit the changelog 2023-02-24 20:45:35 +01:00
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
format_sources
LICENSE
PreLoad.cmake
README.md Updated Slack invite link 2023-02-23 15:08:51 +00:00
SECURITY.md Update version_date.tsv and changelogs after v23.2.1.2537-stable 2023-02-23 19:46:46 +00:00

ClickHouse — open source distributed column-oriented DBMS

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time.

How To Install (Linux, macOS, FreeBSD)

curl https://clickhouse.com/ | sh
  • Official website has a quick high-level overview of ClickHouse on the main page.
  • ClickHouse Cloud ClickHouse as a service, built by the creators and maintainers.
  • Tutorial shows how to set up and query a small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • Slack and Telegram allow chatting with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announcements and reports about events.
  • Code Browser (Woboq) with syntax highlight and navigation.
  • Code Browser (github.dev) with syntax highlight, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.

Upcoming Events

  • v23.2 Release Webinar - Feb 23 - 23.2 is rapidly approaching. Original creator, co-founder, and CTO of ClickHouse Alexey Milovidov will walk us through the highlights of the release.
  • ClickHouse Meetup in Amsterdam - Mar 9 - The first ClickHouse Amsterdam Meetup of 2023 is here! 🎉 Join us for short lightning talks and long discussions. Food, drinks & good times on us.
  • ClickHouse Meetup in SF Bay Area - Mar 14 - A night to meet with ClickHouse team in the San Francisco area! Food and drink are a given...but networking is the primary focus.
  • ClickHouse Meetup in Austin - Mar 16 - The first ClickHouse Meetup in Austin is happening soon! Interested in speaking, let us know!

Recent Recordings

  • FOSDEM 2023: In the "Fast and Streaming Data" room Alexey gave a talk entitled "Building Analytical Apps With ClickHouse" that looks at the landscape of data tools, an interesting data set, and how you can interact with data quickly. Check out the recording on YouTube.
  • Recording available: v23.1 Release Webinar 23.1 is the ClickHouse New Year release. Original creator, co-founder, and CTO of ClickHouse Alexey Milovidov will walk us through the highlights of the release. Inverted indices, query cache, and so -- very -- much more.