ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin a063097fdf Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column
Required columns of the default expression should not be converted to NULL,
since this map value to default and MATERIALIZED values will not work.

Consider the following structure:
- A Nullable(Int64)
- X Int64 materialized coalesce(A, -1)

With recursive_null_as_default=true you will get:

    _CAST(coalesce(A, -1), 'Int64') AS X, NULL AS A

And this will ignore default expression.

Fixes: #23524 (Cc: @kssenii)
Fixes: #29729 (Cc: @tavplubix)
Backport: 21.7+
2021-10-15 01:36:09 +03:00
.github [github] we're switching to CLA based on Apache CLA 2021-09-28 10:38:53 +03:00
base Fixed tests 2021-10-14 00:33:18 +03:00
benchmark .tech -> .com 2021-09-22 03:22:57 +03:00
cmake Update target.cmake 2021-10-13 01:14:47 +03:00
contrib Update submodule 2021-10-12 22:22:49 +03:00
debian Add lld into Build-Depends for debian package 2021-09-25 02:18:36 +03:00
docker Merge branch 'master' into clickhouse-test-http-interface 2021-10-13 16:46:26 +00:00
docs Doc. fix optimize_skip_unused_shards description (#30114) 2021-10-14 15:47:43 +03:00
programs Merge pull request #30179 from kitaisreal/clickhouse-local-support-sql-user-defined-functions 2021-10-14 23:14:18 +03:00
src Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column 2021-10-15 01:36:09 +03:00
tests Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column 2021-10-15 01:36:09 +03:00
utils Fixed tests 2021-10-14 00:33:18 +03:00
website Merge pull request #30152 from flickerbox/crb-update-yandex-logo 2021-10-14 01:55:12 +03:00
.clang-format
.clang-tidy Revert "Revert "Fix tidy"" 2021-09-06 12:16:52 +03:00
.editorconfig
.gitattributes Union merge for arcadia_skip_list.txt to avoid frequent conflicts 2021-03-10 08:50:32 +03:00
.gitignore fix style check 2021-09-21 10:28:33 +03:00
.gitmodules Experiment with minimized toolchain 2021-10-11 04:37:04 +03:00
.potato.yml Fix yamllint issues 2021-02-20 23:25:21 +03:00
.pylintrc Add pylintrc config 2021-01-26 23:35:56 +03: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 2021-10-09 18:42:53 +03:00
CMakeLists.txt Add -fcoroutines for g++ 2021-10-08 15:06:09 +03:00
CODE_OF_CONDUCT.md Add minimal code of conduct #9676 2020-03-16 12:44:28 +03:00
CONTRIBUTING.md Remove old CLA 2021-09-28 20:16:33 +03:00
docker-compose.yml Change Docker org name 2021-09-20 01:52:21 +03:00
format_sources
LICENSE Sync copyrights 2021-10-04 09:16:18 +03:00
PreLoad.cmake
README.md Update README.md 2021-10-12 15:38:40 +03:00
release Proper build 2021-08-24 00:09:19 +00:00
SECURITY.md Update SECURITY.md 2021-10-07 20:30:07 +03:00
uncrustify.cfg

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 with syntax highlight and navigation.
  • Contacts can help to get your questions answered if there are any.