ClickHouse/tests
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
..
ci Add to packager 2021-10-12 02:10:58 +03:00
config
fuzz Add JSONExtractKeys function 2021-10-12 18:00:25 +03:00
instructions
integration Make test_MemoryTracking::test_http not flaky 2021-10-14 21:06:39 +03:00
jepsen.clickhouse-keeper
perf_drafts
performance Merge pull request #28633 from darkkeks/normalize-utf8-nfc 2021-10-12 12:25:07 +03:00
queries Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column 2021-10-15 01:36:09 +03:00
testflows
.gitignore
clickhouse-test clickhouse-test: fix hung check in stress test by using system database 2021-10-13 00:19:16 +03:00
CMakeLists.txt
msan_suppressions.txt
stress
tsan_suppressions.txt
ubsan_suppressions.txt