Commit Graph

81852 Commits

Author SHA1 Message Date
mergify[bot]
b32e2a8624
Merge branch 'master' into functions-conversion-fix-typo 2022-01-20 17:56:46 +00:00
Azat Khuzhin
c07a2c856a Fix bypass virtual dispatch in ZstdDeflatingAppendableWriteBuffer
clang-tidy [1]:

    "Call to virtual method 'ZstdDeflatingAppendableWriteBuffer::finalizeAfter' during destruction bypasses virtual dispatch"

  [1]: https://s3.amazonaws.com/clickhouse-builds/33840/d021190b8c7ae0f5dc2decb953c471ea9d770981/binary_tidy/build_log.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-20 20:40:04 +03:00
mergify[bot]
2eab179a0d
Merge branch 'master' into json-each-row 2022-01-20 17:32:28 +00:00
tavplubix
d26d139974
Update CMakeLists.txt 2022-01-20 20:27:14 +03:00
Maksim Kita
4d41c6a2ac Fixed build 2022-01-20 17:08:55 +00:00
alesapin
eaa0e4e542 Add set generator 2022-01-20 20:06:34 +03:00
Maksim Kita
9acba98b77 FunctionsConversion fix typo 2022-01-20 16:21:34 +00:00
Maksim Kita
502c1637d5
Merge pull request #33827 from kitaisreal/range-hashed-dictionary-handle-invalid-intervals
RangeHashedDictionary handle invalid intervals
2022-01-20 17:16:49 +01:00
tavplubix
41ee114abb
Merge pull request #33819 from bigo-sg/optimize_explain_create_function
Support explain create function query
2022-01-20 19:07:43 +03:00
Azat Khuzhin
d021190b8c keeper: fix memory leak in case of compression is used (default)
In case of compression is used, ZstdDeflatingAppendableWriteBuffer is
used, but it has a leak, since it frees ZSTD_CCtx only if there was
write while this is not correct, since it is created anyway.

This was found with jemalloc profile, keeper-bench and the following
keeper settings:

- force_sync=false
- snapshot_distance=100
- reserved_log_items=0
- rotate_log_storage_interval=100

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-20 19:03:00 +03:00
李扬
9f6f84259d
Fix bug of check table when creating data part with wide format and projection (#33774) 2022-01-20 18:05:17 +03:00
Anton Popov
84da87e4f1 minor fixes in redis dictionary 2022-01-20 17:55:56 +03:00
Bharat Nallan
adbdc3153a
improvements to tests for h3kRing and h3ToChildren funcs (#33311) 2022-01-20 17:08:13 +03:00
achimbab
779538bd89
Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
Amos Bird
e62f4e50a6
Fix KeyCondition with no common types 2022-01-20 21:56:12 +08:00
Maksim Kita
6b9a5ab15e TypeId name fix 2022-01-20 13:51:00 +00:00
Maksim Kita
115ecb09a8 Dictionaries added Date32 type support 2022-01-20 13:48:33 +00:00
Maksim Kita
97605b7c9c Fixed tests 2022-01-20 13:36:12 +00:00
avogar
67e396f8f4 Fix schema inference for JSONEachRow and JSONCompactEachRow 2022-01-20 16:31:24 +03:00
Anton Popov
6015d86dee handle exception while getting connection from pool 2022-01-20 16:31:00 +03:00
Vladimir C
7156e64ee2
Merge pull request #33360 from RogerYK/feat/bitSlice 2022-01-20 16:20:27 +03:00
avogar
a20fdc210a Add format autodetect in clickhouse-local 2022-01-20 15:55:28 +03:00
taiyang-li
4db3ee2edd add stateless tests 2022-01-20 19:41:35 +08:00
avogar
d4674d5b45 Fix unit test 2022-01-20 14:41:16 +03:00
taiyang-li
8886ac61e7 remove useless code 2022-01-20 19:33:19 +08:00
Maksim Kita
844eb4ccdc RangeHashedDictionary handle invalid intervals 2022-01-20 11:16:18 +00:00
avogar
2d975057d0 Make result Bool only if arguments contain Bool 2022-01-20 14:16:11 +03:00
avogar
ba54a5ff80 Some improvements and fixes for Bool data type 2022-01-20 14:16:11 +03:00
Kruglov Pavel
f644602ec8
Merge pull request #33776 from Avogar/fix-insert-values
Fix parsing query INSERT INTO ... VALUES SETTINGS ... (...), ...
2022-01-20 14:09:27 +03:00
Kruglov Pavel
175788ecf9
Merge pull request #33790 from Avogar/fix-input
Fix bug in client that led to 'Connection reset by peer' in server
2022-01-20 14:09:13 +03:00
Kruglov Pavel
dd2971791c
Merge pull request #33791 from kitaisreal/dictionaries-read-keys-array-copy-fix
Dictionaries remove unnecessary copy of keys during read
2022-01-20 13:59:41 +03:00
alexey-milovidov
51ca90b030
Update CHANGELOG.md 2022-01-20 13:22:01 +03:00
alexey-milovidov
76a64bda6a
Update CHANGELOG.md 2022-01-20 13:20:52 +03:00
cnmade
567b4f5b01
Update Readme.md, add Code Browser@github.dev
github.dev provide free code browser, base on VSCode web version.
Easy to read and navigate.
2022-01-20 17:43:10 +08:00
Nikolay Degterinsky
3e6c94929b
Merge pull request #33821 from cnmade/PF01201654
Translate zh/faq/index.md
2022-01-20 12:42:05 +03:00
alexey-milovidov
28a9d569cc
Merge pull request #33690 from azat/remove-unbundled-support
Remove unbundled support
2022-01-20 12:29:07 +03:00
cnmade
6f407e219a Translate zh/faq/index.md 2022-01-20 17:04:06 +08:00
Kseniia Sumarokova
064c3dd654
Merge pull request #33724 from liuneng1994/fix_ignore_hdfs_error
Throw exception when storage hdfs list directory failed
2022-01-20 11:59:09 +03:00
Kseniia Sumarokova
b67105e931
Merge pull request #33759 from cnmade/PF01190918
Translate zh/sql-reference/statements/alter/ttl.md
2022-01-20 11:55:08 +03:00
taiyang-li
e4f5444073 support explain create function query 2022-01-20 16:23:52 +08:00
Nikolay Degterinsky
0d415d2af6
Merge pull request #33807 from cnmade/PF01200938
Translate zh/sql-reference/statements/alter/update.md
2022-01-20 11:16:17 +03:00
alexey-milovidov
eabef7b1ee
Update CHANGELOG.md 2022-01-20 10:50:57 +03:00
Azat Khuzhin
78858f9ba9 Fix librdkafka/hdfs that depends on sasl2/krb5 2022-01-20 10:02:03 +03:00
Azat Khuzhin
97f9cf939e Fix build hive w/o hdfs 2022-01-20 10:02:03 +03:00
Azat Khuzhin
a6d482d3e1 Cleanup jemalloc contrib 2022-01-20 10:02:03 +03:00
Azat Khuzhin
9926f336e3 Cleanup cpuid contrib 2022-01-20 10:02:03 +03:00
Azat Khuzhin
b23053d1f6 Remove USE_XXHASH (reduntant) 2022-01-20 10:02:02 +03:00
Azat Khuzhin
3e58094bcb Fix build w/o replxx 2022-01-20 10:02:02 +03:00
Azat Khuzhin
66a210410f Fix build w/o hyperscan 2022-01-20 10:02:02 +03:00
Azat Khuzhin
e0e81b340d Fix w/o ODBC build 2022-01-20 10:02:02 +03:00