ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin 195b4c47ea Avoid processing per-column TTL multiple times
Before this patch ttl.txt will not be written for per-column TTLs, and
hence it will be calculated every time after server restart of
DETACH/ATTACH cycle (note, that it will work w/o restart since in-memory
representation will avoid this).

v2: convert test to .sh to get correct current database over default for MV
v3: extract UUID to avoid error like in [1]:
    [ 490 ] {} <Error> void DB::SystemLog<DB::TextLogElement>::flushImpl(const std::vector<LogElement> &, uint64_t) []: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing query_id LIKE concat('%', CAST(_CAST(NULL, 'Nullable(UUID)') AS uuid, 'String'), '%'): while pushing to view test_0hc2ro.this_text_log (c64e5af4-059e-4330-a728-354ecf83c031). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN)
    [1]: https://s3.amazonaws.com/clickhouse-test-reports/35820/a512d322b024d37d2f1082c4833f59f86057555f/stateless_tests_flaky_check__address__actions_.html
v4: add no-parallel to avoid issues with disappeared underlying table while pushing to text_log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-02 15:19:39 +03:00
.github Add building images to ReleaseCI 2022-04-01 12:48:29 +02:00
base Merge remote-tracking branch 'origin/startup-sanity-checks' into startup-sanity-checks 2022-03-29 14:29:33 +02:00
benchmark
cmake Remove outdated links from CI 2022-03-28 15:53:22 +02:00
contrib Fix enable LLVM for JIT compilation in CMake 2022-03-30 17:43:52 +02:00
debian
docker Add clickhouse-keeper Dockerfile 2022-04-01 12:32:26 +02:00
docs Merge pull request #35706 from yakov-olkhovskiy/ephemeral-35641 2022-04-01 10:49:29 -04:00
packages
programs When showing the animation, set display to inline-block instead of inline, otherwise the animation won't start 2022-04-01 19:29:13 -04:00
src Avoid processing per-column TTL multiple times 2022-04-02 15:19:39 +03:00
tests Avoid processing per-column TTL multiple times 2022-04-02 15:19:39 +03:00
utils Fix stylecheck 2022-03-30 10:55:49 +00:00
website
.clang-format
.clang-tidy
.editorconfig
.gitattributes
.gitignore
.gitmodules
.pylintrc
.vimrc
.yamllint
AUTHORS
CHANGELOG.md
CMakeLists.txt One more try to resurrect build hash 2022-03-30 23:27:46 +02: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
PreLoad.cmake
README.md Move codebrowser out of Yandex 2022-03-01 20:15:43 +01:00
release
SECURITY.md

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.