Commit Graph

81702 Commits

Author SHA1 Message Date
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
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
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
Azat Khuzhin
e05a75f850 LZMA/xz cannot be disabled 2022-01-20 10:02:02 +03:00
Azat Khuzhin
70b3f1de76 Improve add_contrib() (teach it about other dependencies) 2022-01-20 10:02:02 +03:00
Azat Khuzhin
9426e6305b Fix USE_XXHASH in StorageSystemBuildOptions.generated.cpp.in 2022-01-20 10:02:02 +03:00
Azat Khuzhin
e160a20769 Remove USE_OPENCL (removed in #31744) 2022-01-20 10:02:02 +03:00
Azat Khuzhin
7dcc037296 check-style: add a check that there is no system-wide library in use 2022-01-20 10:02:02 +03:00
Azat Khuzhin
eda7182381 Remove extra cmake modules from libhdfs3-cmake (everything is bundled) 2022-01-20 10:02:02 +03:00
Azat Khuzhin
e3b140a387 Add alias library for fmt 2022-01-20 10:02:02 +03:00
Azat Khuzhin
ad67aa527c Add alias library for magic_enum 2022-01-20 10:02:02 +03:00
Azat Khuzhin
c6f95bcde3 Add add_contrib() macro 2022-01-20 10:02:02 +03:00
Azat Khuzhin
eeb0c83a2d tests/instructions/sanitizers.md: cleanup USE_INTERNAL_XXX 2022-01-20 10:02:01 +03:00
Azat Khuzhin
c3ac1f9763 docs/en/development/build-cross-riscv.md: cleanup USE_INTERNAL_XXX 2022-01-20 10:02:01 +03:00