Commit Graph

668 Commits

Author SHA1 Message Date
Robert Schulze
53965bb9f1
Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main 2024-01-07 14:11:22 +00:00
Alexey Milovidov
8365722c95
Merge pull request #58336 from amosbird/macro2constexpr
Organize symbols from src/* into DB namespace
2023-12-30 12:40:36 +01:00
Amos Bird
907e844635
Fix examples 2023-12-30 10:48:19 +08:00
Azat Khuzhin
058001eb31 Add missing includes into CompressionCodecDeflateQpl
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-27 17:06:17 +01:00
jinjunzh
aaf98f0ed7 refine setting with enable_zstd_qat_codec 2023-12-22 14:24:15 -05:00
jinjunzh
b1a7cae515 refine patch 2023-12-21 13:40:29 -05:00
jinjunzh
372de8a046 refine patch 2023-12-20 10:12:24 -05:00
jinjunzh
5e1b048e52 refine ZSTDQAT code name 2023-12-13 11:02:06 -05:00
jinjunzh
6154ea92bc add pragma once 2023-12-12 12:51:03 -05:00
jinjunzh
3771acdefb fixed reported code issues 2023-12-12 11:15:11 -05:00
jinjunzh
f231074c9b add macro for header file 2023-12-12 08:43:31 -05:00
jinjunzh
a25de0cc64 refine cosmos issue 2023-12-11 09:57:41 -05:00
jinjunzh
f302ba0e31 Implement hardware-assisted(QAT) ZSTD compression 2023-12-05 17:47:18 -05:00
Robert Schulze
a89676249b
Fix clang-tidy build 2023-11-29 21:44:29 +00:00
jinjunzh
54f73d844e refine Constructor 2023-11-29 20:17:08 -05:00
jinjunzh
1402829c6a Merge branch 'iaadeflate_upgrade_qpl_v1.3.0' of https://github.com/jinjunzh/ClickHouse into iaadeflate_upgrade_qpl_v1.3.0 2023-11-29 18:45:42 -05:00
jinjunzh
827ea79d91 switch the order of the hw_codec and sw_codec members in class 2023-11-29 18:45:03 -05:00
jinjunzh
984a587955 Merge branch 'iaadeflate_upgrade_qpl_v1.3.0' of https://github.com/jinjunzh/ClickHouse into iaadeflate_upgrade_qpl_v1.3.0 2023-11-29 08:42:43 -05:00
jinjunzh
e844b2d9ef Improve cosmetic sections 2023-11-29 08:39:51 -05:00
Robert Schulze
04fee89038
Cosmetics 2023-11-29 08:33:08 +00:00
jasperzhu
aefc2f1ce4
Merge branch 'ClickHouse:master' into iaadeflate_upgrade_qpl_v1.3.0 2023-11-29 09:00:03 +08:00
jinjunzh
3b7811342d upgrade qpl to 1.3.1 and fix qpl_deflate codec bug for the case of BOF=0 2023-11-28 11:39:15 -05:00
Alexey Milovidov
dfba02542d Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-disable-checksums 2023-11-24 17:37:49 +01:00
Nikolay Degterinsky
761b55ccf4 Make overflow not possible 2023-11-22 16:37:30 +00:00
Alexey Milovidov
21d3ebcf35 Disable checksums for builds with fuzzer 2023-11-22 17:19:59 +01:00
Nikolay Degterinsky
a6b659cf04 Fix buffer overflow in Gorilla codec 2023-11-22 15:21:27 +00:00
Antonio Andelic
504aeb987b Better messages 2023-11-16 12:13:13 +00:00
Alexey Milovidov
9401b90417
Merge pull request #56795 from ClickHouse/fix-fpc
Fix crash in FPC codec
2023-11-16 09:48:45 +01:00
Alexey Milovidov
fc6a25fad5
Update src/Compression/CompressionCodecFPC.cpp
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-11-15 21:54:19 +03:00
Alexey Milovidov
a089e61810 Fix crash in FPC codec 2023-11-15 15:55:56 +01:00
Robert Schulze
daa60acb19
Bug: #56673 2023-11-14 11:03:00 +00:00
Robert Schulze
afb5c3e810
Some fixups (mostly for consistency)
- Made the exception texts consistent accross codecs
- Slightly less noisy comments in C++ code
- Remove unlikely() because it did not make a difference considering the
  total function costs
- Consolidated tests into existing test, delete leftover
  02869_gcd_codec_test_incorrect_type test (it was consolidated into
  02872_gcd_codec long time ago)
2023-11-14 10:29:20 +00:00
Nikita Mikhaylov
40df5b8a74
Update CompressionCodecGCD.cpp 2023-11-14 10:28:28 +00:00
Nikita Mikhaylov
a80f8082db
Update CompressionCodecGCD.cpp 2023-11-14 10:28:25 +00:00
Nikita Mikhaylov
71f4f7519b
Update CompressionCodecGCD.cpp 2023-11-14 10:28:21 +00:00
Nikita Mikhaylov
a7f8171d3e
Update CompressionCodecGCD.cpp 2023-11-14 10:28:15 +00:00
Nikita Mikhaylov
0ae79f6d18
Fix crash 2023-11-14 10:28:12 +00:00
Robert Schulze
b899270372
Remove default value for argument 'ignore_aliases' from IAST::updateTreeHash() 2023-11-13 13:18:35 +00:00
Robert Schulze
38c76eb709
Merge remote-tracking branch 'rschu1ze/master' into pcg 2023-11-08 09:43:27 +00:00
Alexey Milovidov
3a4ada3898 Fix buffer overflow in T64 2023-11-08 03:27:44 +01:00
Robert Schulze
e46dbcb2f1
Use pcg/randomSeed() random generator/seed instead of std::mt19937/std::random_device 2023-11-07 18:54:50 +00:00
Alexander Tokmakov
0b0b1b21c6 different error codes for internal and external data 2023-11-04 14:18:49 +01:00
Alexander Tokmakov
289fcccbfc change some exception codes 2023-11-03 20:19:24 +01:00
Robert Schulze
9fff447716
Re-enable clang-tidy checks 2023-09-26 09:34:12 +00:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes 2023-09-21 14:40:57 +00:00
Robert Schulze
d36edea9e2
Consolidate GCD codec tests (follow up to #53149) 2023-09-05 21:34:27 +00:00
seshWCS
b0a229592f Cosmetic 2023-09-05 12:37:31 +00:00
seshWCS
4a1d67dd3c Qpl 2023-09-05 12:35:39 +00:00
seshWCS
3d078e2c8c if constexpr 2023-09-05 12:33:51 +00:00
seshWCS
221919f46c TUInt32Or64 => LibdivideT 2023-09-05 12:31:59 +00:00
seshWCS
6cc9830eab Cosmetic 2023-09-05 12:29:44 +00:00
seshWCS
5a0a9ac109 Moved ctor upper 2023-09-05 12:27:55 +00:00
seshWCS
b6c80dd63e Syntax fix 2023-09-05 12:26:36 +00:00
seshWCS
cba3457a3a calculate result directly from source_size and sizeof(T) 2023-09-05 12:21:05 +00:00
seshWCS
8ca51bf39d Issue-fix 2023-09-05 12:15:30 +00:00
seshWCS
e687b942e7 Added casts 2023-09-05 10:59:04 +00:00
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec 2023-09-05 11:08:00 +03:00
robot-clickhouse
926c5636dd
Merge pull request #42599 from ClickHouse/build-fuzzer-protocol
libFuzzer: add CI fuzzers build, add tcp protocol fuzzer, fix other fuzzers.
2023-09-04 22:41:54 +02:00
seshWCS
cee0bc0bef deleted extra variable 2023-09-03 12:22:23 +00:00
Александр Нам
9a71bce1f5
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-02 00:51:49 +03:00
seshWCS
43f9efb7af Added libdivide for Integers with sizeof <= 8 2023-09-01 21:42:19 +00:00
Yakov Olkhovskiy
361b21b416 fix fuzzers, cmake refactor, add target fuzzers 2023-09-01 14:20:50 +00:00
kssenii
3f20d1f578 Rename 2023-09-01 12:55:58 +02:00
seshWCS
9b7d3376fa Deleted unused ErrorCode 2023-08-29 19:01:31 +00:00
seshWCS
059e75ba3a Deleted args 2023-08-29 18:17:44 +00:00
Yakov Olkhovskiy
db1a291e1e cleanup 2023-08-27 23:19:24 +00:00
Yakov Olkhovskiy
264877b2a5 fix fuzzers, add bundle build target fuzzers 2023-08-27 19:47:11 +00:00
seshWCS
887a4da6b3 Bug-fix 2023-08-27 01:08:38 +00:00
seshWCS
62fe4e21c1 UInt32 => size_t + static_cast<UInt32>(size_t) 2023-08-26 23:57:44 +00:00
Александр Нам
ee0b2e4b39
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-27 02:41:10 +03:00
seshWCS
49b3f208c0 Added result to compressDataForType 2023-08-26 23:40:55 +00:00
seshWCS
680cbb6b79 Fixed bugs with memory 2023-08-25 05:05:49 +00:00
Yakov Olkhovskiy
415a993c91 fix fuzzers build 2023-08-24 23:22:39 +00:00
seshWCS
f9de4897ee Edited while 2023-08-24 01:00:04 +00:00
Александр Нам
480d2df4e8 Added params 2023-08-22 21:40:05 +00:00
Александр Нам
c7f7fc55c4
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-22 20:13:25 +03:00
Александр Нам
176fdf3aa6 Erased args from codec_builder 2023-08-22 16:35:06 +00:00
Александр Нам
c7be413ae2 Added boost::math::gcd and improved test 2023-08-22 16:16:55 +00:00
Robert Schulze
4206369ced
Fix build 2023-08-22 15:43:28 +00:00
Александр Нам
6e0d9f1df7 Edited CompressionMethodByte for GCDCodec 2023-08-22 14:41:02 +00:00
Александр Нам
bd6b10f242 Fixed bug in libdivide usage 2023-08-20 23:39:52 +00:00
Александр Нам
539555b755 Added SIMD for UInt32/64 2023-08-20 23:19:05 +00:00
Yakov Olkhovskiy
7ce5041a52 Merge remote-tracking branch 'ch/master' into hlee-s390x-codec-delta 2023-08-17 20:29:06 +00:00
Александр Нам
2b8592cd5b Style 2023-08-15 19:04:39 +00:00
Александр Нам
7f401579e0 GCD optimization 2023-08-15 18:09:11 +00:00
Александр Нам
ac63a9be7a Fixed bug in fuzzer & 1 + 1 -> 2 in Codec 2023-08-15 18:00:24 +00:00
Александр Нам
a14d7314ec Added support for dt and decimal 2023-08-12 11:54:19 +00:00
Александр Нам
8037dd88c0 Edited sign 2023-08-12 11:31:37 +00:00
Александр Нам
ba8cb254a3 Deleted unused error code 2023-08-12 02:34:23 +00:00
Александр Нам
a3665005d1 Fix 2023-08-12 01:59:53 +00:00
Александр Нам
88549ffa57 Delta -> GCD 2023-08-11 15:09:38 +00:00
Александр Нам
3a3a4ac769 Deleted extral if 2023-08-11 14:43:41 +00:00
Александр Нам
a712dd2c6e Added gcd_fuzzer 2023-08-11 13:38:23 +00:00
Александр Нам
699a4fb3b8
Merge branch 'master' into gcddelta-codec 2023-08-11 16:23:10 +03:00
Александр Нам
c8f0ee94ca Edited ErrorCodes 2023-08-10 07:38:04 +00:00
Александр Нам
43a827137f Deleted args 2023-08-09 22:08:46 +00:00
Александр Нам
b52655dd5a Added exception for types 2023-08-09 21:48:40 +00:00
Александр Нам
ef857f3646 Fix 2023-08-09 21:33:22 +00:00
Александр Нам
086d0741a5 Style 2023-08-09 11:30:38 +00:00
Александр Нам
d5004900d3 Fixed bugs 2023-08-09 11:18:19 +00:00