ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin 4efa847a1f Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views
In case of parallel INSERT (max_insert_threads > 1) it is possible for
VIEW to be DROP/DETACH'ed while building pipeline for various paralell
streams, and in this case the header will not match since when you have
VIEW you will got empty header and non-empty header otherwise.

And this leads to LOGICAL_ERROR later, while checking that output
headers are the same (in QueryPipelineBuilder::addChains() -> Pipe::addChains()).

However it also makes the pipeline different for various parallel
streams, and it looks like it is better to fail in this case, so instead
of always returning empty header from buildChainImpl() explicit check
had been added.

Note, that I wasn't able to reproduce the issue with the added test,
but CI may have more "luck" (although I've verified it manually).

Fixes: #35902
Cc: @KochetovNicolai
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-05 13:16:32 +03:00
.github Merge pull request #39421 from ClickHouse/github-helper 2022-08-03 12:04:03 +02:00
base Update unaligned.h 2022-08-04 08:18:45 +03:00
benchmark Remove old file 2022-07-12 20:28:02 +02:00
cmake Performance check build AVX 2022-07-22 11:53:16 +00:00
contrib Merge pull request #39327 from kssenii/update-azure-lib 2022-08-05 00:20:43 +02:00
docker Merge pull request #38978 from qoega/integration-tests-7 2022-08-05 07:21:18 +02:00
docs Merge pull request #39911 from ClickHouse/alexey-milovidov-patch-4 2022-08-05 07:11:33 +03:00
packages Clean out our clickhouse-server.service from /etc 2022-07-18 15:02:01 +02:00
programs Merge branch 'master' into escape_diag_creds 2022-08-04 01:59:50 +03:00
src Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views 2022-08-05 13:16:32 +03:00
tests Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views 2022-08-05 13:16:32 +03:00
utils Merge pull request #39758 from ClickHouse/tsan_clang_15 2022-08-04 01:56:52 +03:00
website add Dell PowerEdge R740XD results 2022-07-26 20:57:49 +02:00
.clang-format add BeforeLambdaBody to .clang-format 2022-02-11 16:51:45 +01:00
.clang-tidy Revert "Fix errors of CheckTriviallyCopyableMove type" 2022-06-07 13:53:10 +02:00
.editorconfig
.gitattributes mark test data as binary 2022-01-22 03:19:47 +03:00
.gitignore Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
.gitmodules fix build with clang-15 2022-08-01 18:00:54 +02:00
.pylintrc Cover deprecated bad-* pylint options with black 2022-06-08 14:18:28 +02:00
.vimrc
.yamllint Drop truthy.check-keys from yamllint (does not supported on CI) 2021-02-21 06:15:36 +03:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Update CHANGELOG.md 2022-07-25 12:29:18 -04:00
CMakeLists.txt Minor: Better variable name output 2022-07-31 07:44:25 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Mention ClickHouse CLA in CONTRIBUTING.md (#32697) 2021-12-14 03:47:19 +03:00
format_sources
LICENSE Update year 2022-01-27 01:01:27 +03:00
PreLoad.cmake Do not override compiler if it had been already set 2022-07-06 08:51:57 +03:00
README.md Add URL for release webinar (#39796) 2022-08-01 22:09:28 +02:00
SECURITY.md Update SECURITY.md 2022-08-03 12:06:45 +02: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.

  • Official website has a quick high-level overview of ClickHouse on the main page.
  • 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

  • v22.8 Release Webinar Original creator, co-founder, and CTO of ClickHouse Alexey Milovidov will walk us through the highlights of the release, provide live demos, and share vision into what is coming in the roadmap.