Commit Graph
75 Commits
Author SHA1 Message Date
Konstantin Vedernikov 53c85446fb first version 2025-05-28 20:25:54 +00:00
Nikita Mikhailov 2fb8de68af Better 2025-03-14 20:04:45 +01:00
Nikita Mikhailov b600314abb Rename method and add another one 2025-03-14 19:57:10 +01:00
Nikita Mikhailov 050135d5c9 Remove queryToString 2025-03-14 19:57:10 +01:00
Robert SchulzeandKonstantin Bogdanov 012f6cd9da Revert "Remove idxd-config library which has an incompatible license"
This reverts commit 92a44372b3.
2025-02-17 04:44:02 +01:00
Alexey Milovidov 10e0219250 Remove idxd-config library which has incompatible license 2024-10-23 21:45:39 +02:00
Konstantin Bogdanov 67c1e89d90 Apply linter changes 2024-10-06 12:29:20 +02:00
Robert Schulze eec5fe087c Fix CMake for QATlib 2024-08-09 08:50:52 +00:00
Robert Schulze a497a23914 Fix CMake for QPL 2024-08-09 08:44:22 +00:00
Antonio Andelic 4a9daa202d Remove Keeper standalone build 2024-07-01 11:24:45 +02:00
Maksim Kita ec6c276a92 Temporary data use temporary_files_codec setting 2024-03-19 19:07:45 +03:00
Robert Schulze 0f51e32bb5 Rename from ZSTDQPL to ZSTD_QPL 2024-01-07 17:47:31 +00:00
jinjunzh 5e1b048e52 refine ZSTDQAT code name 2023-12-13 11:02:06 -05:00
jinjunzh f302ba0e31 Implement hardware-assisted(QAT) ZSTD compression 2023-12-05 17:47:18 -05:00
seshWCS b0a229592f Cosmetic 2023-09-05 12:37:31 +00:00
seshWCS 4a1d67dd3c Qpl 2023-09-05 12:35:39 +00:00
Александр НамandGitHub 9a71bce1f5 Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-02 00:51:49 +03:00
kssenii 3f20d1f578 Rename 2023-09-01 12:55:58 +02:00
Александр Нам f533eeaf95 Moved registerCodecGCD to ifndef 2023-08-08 17:26:01 +00:00
Александр Нам 0a4c3f1dac Fix 2023-08-08 15:16:31 +00:00
Александр Нам 90d0c48108 Edited codec-files 2023-08-07 16:43:46 +00:00
kssenii ecfbf1e304 Remove dependency from DB::Context in readers 2023-05-02 21:45:27 +02:00
Suzy WangandGitHub 64313d7020 Merge branch 'master' into z-build-0120 2023-02-09 14:49:22 -05:00
Robert Schulze 84b9ff450f Fix terribly broken, fragile and potentially cyclic linking
Sorry for the clickbaity title. This is about static method
ConnectionTimeouts::getHTTPTimeouts(). It was be declared in header
IO/ConnectionTimeouts.h, and defined in header
IO/ConnectionTimeoutsContext.h (!). This is weird and caused issues with
linking on s390x (##45520). There was an attempt to fix some
inconsistencies (#45848) but neither did @Algunenano nor me at first
really understand why the definition is in the header.

Turns out that ConnectionTimeoutsContext.h is only #include'd from
source files which are part of the normal server build BUT NOT part of
the keeper standalone build (which must be enabled via CMake
-DBUILD_STANDALONE_KEEPER=1). This dependency was not documented and as
a result, some misguided workarounds were introduced earlier, e.g.
https://github.com/ClickHouse/ClickHouse/pull/38475/commits/0341c6c54bd7ac77200b4ca123208b195514ef20

The deeper cause was that getHTTPTimeouts() is passed a "Context". This
class is part of the "dbms" libary which is deliberately not linked by
the standalone build of clickhouse-keeper. The context is only used to
read the settings and the "Settings" class is part of the
clickhouse_common library which is linked by clickhouse-keeper already.

To resolve this mess, this PR

- creates source file IO/ConnectionTimeouts.cpp and moves all
  ConnectionTimeouts definitions into it, including getHTTPTimeouts().

- breaks the wrong dependency by passing "Settings" instead of "Context"
  into getHTTPTimeouts().

- resolves the previous hacks
2023-02-05 20:49:34 +00:00
Boris Kuschel 1d4cf4fe69 Add encryption support with openssl 2023-02-04 14:59:34 -05:00
Suzy WangandGitHub 1176260b3c Merge branch 'master' into z-build-0120 2023-01-24 01:14:42 -05:00
Alexander TokmakovandGitHub 70d1adfe4b Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Suzy Wang 19d26828a0 s390x build support 2023-01-20 21:16:55 +00:00
Robert Schulze da5a2e2db0 Merge remote-tracking branch 'origin/master' into generated-file-cleanup
Physical merge conflicts:
- src/Common/ZooKeeper/ZooKeeperImpl.cpp
- src/Core/config_core.h.in
- src/Functions/FunctionsAES.h
- src/Functions/config_functions.h.in
- src/configure_config.cmake

Logical merge conflicts:
- Functions/tryDecrypt.cpp
2022-10-06 08:43:25 +00:00
Robert Schulze fd86829824 Consolidate config_core.h into config.h
Less duplication, less confusion ...
2022-09-28 13:31:57 +00:00
Meena Renganathan 51d6611b96 Committing the ClickHouse core changes and other libraries to support OpenSSL. BoringSSL is still set as default 2022-09-12 09:05:38 -07:00
jinjunzh 816e974ca2 rename deflate to deflate_qpl 2022-07-09 14:42:01 -04:00
jinjunzh 825b7511e4 improve cosmetics 2022-07-09 14:13:12 -04:00
jinjunzh 6fa036f6ee remove qpl from clickhouse-keeper 2022-07-06 23:48:09 -04:00
jinjunzh fbe3d84860 revise typo issue 2022-07-05 15:29:53 -04:00
jinjunzh ba38969e9c enable qpl for clickhouse-keeper build 2022-07-05 15:28:41 -04:00
jasperzhuandGitHub bca18b2caf Merge branch 'master' into dev_intel_iaa_deflate 2022-06-16 08:56:27 +08:00
jinjunzh c7ca746994 fixed build issues in clickhouse-keeper 2022-06-05 14:46:28 -04:00
jinjunzh 2170a99484 revise ENABLE_QPL_COMPRESSION build option 2022-06-03 21:06:55 -04:00
jinjunzh e1426c7e9d add build option for iaa compression 2022-06-01 11:47:43 -04:00
koloshmet 0697b9ffcf FPC codec 2022-05-25 22:04:39 +03:00
jinjunzh 68a7e4b9b5 preliminary patch for iaa deflate solution 2022-04-26 14:14:09 -04:00
alesapinandGitHub 77e700b1cf Update src/Compression/CompressionFactory.cpp 2022-03-28 11:25:08 +02:00
alesapinandMikhail f. Shiryaev a4ab73619f Fix UBSan build 2022-03-22 15:05:31 +01:00
Maksim Kita 65c52298b6 Fix clang-tidy warnings in Compression, Coordination, Core folders 2022-03-14 18:17:35 +00:00
Alexey Milovidov 8b4a6a2416 Remove cruft 2021-10-28 02:10:39 +03:00
Nikita Mikhaylov 64821c41d9 Style 2021-08-21 13:00:15 +00:00
Nikita Mikhaylov f72457fa98 Lower the size of the binaries 2021-08-21 02:20:23 +00:00
PHOandGitHub 6425dd001a Add a codec AES_128_GCM_SIV for encrypting columns on disk (#19896)
* Add a codec Encrypted() for encrypting columns on disk

While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00
Alexey Milovidov 8d85145725 Remove experimental compression codecs 2021-06-06 02:26:52 +03:00