Commit Graph

5244 Commits

Author SHA1 Message Date
Alexey Milovidov
5e433ea537 Parallel compression: development 2024-10-20 03:11:16 +02:00
Pablo Marcos
f002e51a4e Merge branch 'master' into system-query-metric-log 2024-10-18 13:22:58 +00:00
Sergei Trifonov
ee557a9f11
Merge branch 'master' into fix-use-concurrency-control 2024-10-18 13:30:03 +02:00
Nikolai Kochetov
596a8d1001
Merge pull request #70799 from ClickHouse/avoid-double-finalizetion-in-library-bridge
Avoid double finalization of `WriteBuffer` in library bridge.
2024-10-17 18:31:58 +00:00
Raúl Marín
76b081c718
Merge pull request #70739 from Algunenano/settings3
Move more setting structs to pImpl
2024-10-17 15:44:59 +00:00
Nikolai Kochetov
20bf1d7b72 Avoid double finalization of WriteBuffer in library bridge. 2024-10-17 13:45:18 +00:00
Alexey Milovidov
051f9c900a Merge branch 'master' into revert-68023-revert-65860-atomic-database-in-clickhouse-local 2024-10-17 13:53:33 +02:00
Raúl Marín
bc104fad7a Merge remote-tracking branch 'blessed/master' into less_diffs_in_private_2 2024-10-17 11:13:02 +00:00
Pablo Marcos
bdc1889919 Merge branch 'master' into system-query-metric-log 2024-10-17 10:02:55 +00:00
Alexey Milovidov
5757a7c7fd
Merge pull request #68583 from denis-hananein/clickhouse-local-copy-arg
Support --copy mode for clickhouse local as a shortcut for format conversion
2024-10-17 07:19:30 +08:00
serxa
3a8bea0932 add docs 2024-10-16 20:29:52 +00:00
Raúl Marín
99924ba2bc Move ServerSettings to pImpl 2024-10-16 21:13:26 +02:00
Raúl Marín
f3c36defab Less changes 2024-10-16 12:54:32 +00:00
Julia Kartseva
bf0c609353 possible conflict w private 2024-10-16 02:18:59 +00:00
serxa
0018d66668 Merge branch 'master' into sql-for-workload-management 2024-10-15 01:02:18 +00:00
Julia Kartseva
c4e72cfe2b Merge remote-tracking branch 'origin/master' into refactor-object-storages 2024-10-14 20:48:42 +00:00
Alexey Milovidov
7539dc5c67 Merge branch 'master' into revert-68608-revert-60197-format-settings-parsing 2024-10-14 18:12:25 +02:00
Kseniia Sumarokova
ad7c74c549
Merge pull request #70135 from ClickHouse/cache-for-object-storage-table-engines
Allow to cache read files for object storage table engines and data lakes using hash from ETag and file path as cache key
2024-10-14 14:08:30 +00:00
Julia Kartseva
f610c08124 Merge remote-tracking branch 'origin/master' into refactor-object-storages 2024-10-09 08:22:59 +00:00
Pablo Marcos
7a2ca16a08 Merge branch 'master' into system-query-metric-log 2024-10-09 03:56:41 +00:00
Sergei Trifonov
4316e9a8b6
Merge branch 'master' into sql-for-workload-management 2024-10-09 00:24:54 +02:00
Michael Kolupaev
ab06938478
Merge pull request #70460 from ClickHouse/dep
Fix refreshable MV in system database breaking server startup
2024-10-08 21:17:12 +00:00
Alexey Milovidov
d60dd68759
Merge pull request #70422 from azat/completion-warning-fix
Ignore "Invalid multibyte data detected" error during completion
2024-10-08 15:54:26 +00:00
kssenii
b2184ed6bd Merge remote-tracking branch 'origin' into cache-for-object-storage-table-engines 2024-10-08 06:07:48 +02:00
Michael Kolupaev
f7d9c3a9b1 Fix refreshable MV in system database breaking server startup 2024-10-08 04:00:19 +00:00
serxa
8ad2ab6ac5 Merge branch 'master' into sql-for-workload-management 2024-10-07 11:45:59 +00:00
Azat Khuzhin
17c7fe883b Ignore "Invalid multibyte data detected" error during completion
Due to now the description of settings are also written.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 21:45:12 +02:00
serxa
6622dcdc17 Merge branch 'master' into sql-for-workload-management 2024-10-06 12:37:29 +00:00
Konstantin Bogdanov
67c1e89d90
Apply linter changes 2024-10-06 12:29:20 +02:00
Julia Kartseva
c1a2689697 Merge remote-tracking branch 'origin/master' into refactor-object-storages 2024-10-05 21:07:24 +00:00
Sergei Trifonov
d489419c1b
Merge branch 'master' into sql-for-workload-management 2024-10-05 15:53:43 +02:00
Konstantin Bogdanov
f0ae77edb0
Fix build with clang-19 2024-10-05 14:47:23 +02:00
Alexey Milovidov
418233dbd8
Merge pull request #63689 from mariaKhr/interactive-metrics-table
An option for clickhouse-client to show realtime table with metrics
2024-10-05 07:19:14 +00:00
Raúl Marín
5b52bb298e Merge remote-tracking branch 'blessed/master' into setting2 2024-10-04 23:14:04 +02:00
Raúl Marín
cbfd5cf90e Hide MergeTreeSettings implementation 2024-10-04 19:03:15 +02:00
Julia Kartseva
a62bda5567
Merge branch 'master' into refactor-object-storages 2024-10-04 07:21:37 -07:00
Nikolai Kochetov
28bf90d6c1 Merge branch 'master' into add-compatibility-for-merge-tree-settings 2024-10-04 10:44:30 +00:00
Julia Kartseva
53879083a9 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-10-04 03:02:02 +00:00
Nikolai Kochetov
74de91f864 Add compatibility options for MergeTree settings. 2024-10-03 13:09:19 +00:00
Antonio Andelic
15ad25a3a2 Create query context 2024-10-03 13:21:48 +02:00
Antonio Andelic
5d94818503 Fix context for startup scripts 2024-10-03 13:17:38 +02:00
kssenii
c518232391 Merge remote-tracking branch 'origin' into cache-for-object-storage-table-engines 2024-10-03 12:51:54 +02:00
tuanpach
eef838bade
Merge branch 'master' into report-running-ddl-worker-hosts 2024-10-03 00:13:06 +08:00
Pablo Marcos
a7798d6d5d
Merge branch 'master' into system-query-metric-log 2024-10-01 13:49:26 +02:00
kssenii
50b6fd3969 Merge remote-tracking branch 'origin' into cache-for-object-storage-table-engines 2024-09-30 21:17:36 +02:00
kssenii
6b3ab311c3 Allow to cache data for object storage table engines and data lakes using ETag and Path hash for cache key 2024-09-30 19:20:37 +02:00
Nikita Taranov
c05231e0cf impl 2024-09-30 16:32:54 +01:00
Pablo Marcos
7965c5dd34 Merge branch 'master' into system-query-metric-log 2024-09-30 07:56:32 +00:00
Tuan Pham Anh
a348183941 Merge branch 'master' into report-running-ddl-worker-hosts 2024-09-30 07:48:56 +00:00
Alexey Milovidov
5a91127310 Update LocalServer.cpp 2024-09-29 04:28:36 +02:00
Denis Hananein
5c575f01c4 Support --copy arg for clickhouse-local as shortcut for format conversion 2024-09-29 04:28:36 +02:00
Julia Kartseva
038ffe7cc0 Merge branch 'master' into refactor-object-storages 2024-09-28 08:58:14 +00:00
Julia Kartseva
6d8954a055 fix 02802_clickhouse_disks_s3_copy.sh 2024-09-28 08:08:14 +00:00
Alexander Tokmakov
39786f7352
Merge pull request #69448 from tuanpach/add-identifier-quoting-rule
Add show_create_query_identifier_quoting_rule setting
2024-09-27 19:05:40 +00:00
Tuan Pham Anh
09a4173a33 Merge branch 'master' into add-identifier-quoting-rule 2024-09-27 13:02:49 +00:00
Pablo Marcos
295c4590af Merge branch 'master' into system-query-metric-log 2024-09-27 10:28:18 +00:00
Tuan Pham Anh
53bb5f86b5 Merge branch 'master' into report-running-ddl-worker-hosts 2024-09-27 06:53:56 +00:00
serxa
0d6f79909b Merge branch 'master' into fix-use-concurrency-control 2024-09-26 16:57:58 +00:00
Kseniia Sumarokova
ec8cf035c1
Merge branch 'master' into fix-read-settings-in-index-loading 2024-09-26 17:47:15 +01:00
Alexey Milovidov
624901cbf2 Merge branch 'master' into revert-68023-revert-65860-atomic-database-in-clickhouse-local 2024-09-26 01:00:35 +02:00
kssenii
a02f222326 Merge remote-tracking branch 'origin' into fix-read-settings-in-index-loading 2024-09-25 17:53:08 +02:00
tuanpach
c2d9951230
Merge branch 'master' into add-identifier-quoting-rule 2024-09-25 13:56:43 +08:00
Tuan Pham Anh
6a83b5cca7 Remove IdentifierQuotingStyle::None 2024-09-25 03:28:38 +00:00
Tuan Pham Anh
9ed14e047a Add distributed_ddl.replicas_path setting 2024-09-25 02:21:19 +00:00
Raúl Marín
a90790ce5b Remove dbms dependency on clickhouse_functions 2024-09-24 19:48:23 +02:00
vdimir
b858595e54
Merge pull request #69861 from ClickHouse/vdimir/fix-mongo-cxx-driver-gen
Resubmit #63279
2024-09-24 11:41:28 +00:00
Julia Kartseva
f988aa521f Merge remote-tracking branch 'origin/master' into refactor-object-storages 2024-09-23 21:14:11 +00:00
Robert Schulze
b0f49043fc
Fix build 2024-09-23 20:30:49 +00:00
vdimir
4c9c9015f8
Revert "Revert "Merge pull request #63279 from allmazz/mongodb_refactoring""
This reverts commit 2ae9c9ac16.
2024-09-23 07:06:58 +00:00
Alexey Milovidov
2ae9c9ac16 Revert "Merge pull request #63279 from allmazz/mongodb_refactoring"
This reverts commit 14cb02a18c, reversing
changes made to a940a9ebbc.
2024-09-22 22:28:24 +02:00
serxa
8aeb1120c1 Merge branch 'master' into sql-for-workload-management 2024-09-22 15:43:02 +00:00
serxa
d01655625f Add async_load_system_database setting 2024-09-22 12:06:59 +00:00
Alexey Milovidov
960434e59a Merge branch 'master' of github.com:ClickHouse/ClickHouse into revert-68608-revert-60197-format-settings-parsing 2024-09-21 18:29:56 +02:00
Julia Kartseva
5473e0b64b Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-09-19 22:34:13 +00:00
Kirill Nikiforov
8173c4fcff
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-09-19 17:00:00 +04:00
Raúl Marín
f3df7bd171 Hide Settings implementation 2024-09-18 15:48:02 +02:00
Kirill Nikiforov
2c360e86be
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-09-18 16:14:02 +04:00
kssenii
5f6d54f6fb Merge remote-tracking branch 'origin' into fix-read-settings-in-index-loading 2024-09-17 14:38:42 +02:00
serxa
907ef0f717 Merge branch 'master' into sql-for-workload-management 2024-09-17 11:24:31 +00:00
serxa
d86ad992f1 Merge branch 'master' into fix-use-concurrency-control 2024-09-16 15:05:14 +00:00
serxa
5473b5a051 get rid of ResourceManagersFactory 2024-09-14 09:45:59 +00:00
Julia Kartseva
a8eac8ed10 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-09-13 19:44:43 +00:00
serxa
afd123f741 Merge branch 'master' into sql-for-workload-management 2024-09-12 17:04:02 +00:00
Kseniia Sumarokova
50e923caec
Merge branch 'master' into fix-read-settings-in-index-loading 2024-09-12 14:15:51 +02:00
Mikhail Artemenko
494455e4eb Merge branch 'master' into issues/68932/remove-recursive 2024-09-12 08:51:41 +00:00
Sergei Trifonov
90645d7c0e
Merge branch 'master' into fix-use-concurrency-control 2024-09-11 18:48:11 +02:00
Alexey Milovidov
bf7ec7d639
Revert "Revert "Fix unexpected behavior with FORMAT and SETTINGS parsing"" 2024-09-11 13:22:27 +02:00
Antonio Andelic
bdf8c859b1 Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-09-10 14:13:48 +02:00
Mikhail Artemenko
6309f36232 add limit option to rmr command 2024-09-09 09:44:19 +00:00
Pablo Marcos
058c977063 Merge branch 'master' into system-query-metric-log 2024-09-02 10:57:10 +00:00
serxa
31e2205c4e fix workload entity storage start 2024-09-01 17:28:56 +00:00
serxa
6b6cfd4e16 Integrate workload entity storage into server 2024-09-01 17:08:24 +00:00
Julia Kartseva
49372e58f8 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-08-29 21:54:34 +00:00
Mikhail Artemenko
d8f0ce92af fix style 2024-08-29 13:28:00 +00:00
Mikhail Artemenko
e9497cdcbc use tryMulti instead of NoThrow 2024-08-29 12:20:42 +00:00
Mikhail Artemenko
8bbb78375e add try limit 2024-08-29 12:18:51 +00:00
Sergei Trifonov
897e2def34
Merge branch 'master' into fix-use-concurrency-control 2024-08-29 12:42:37 +02:00
Pablo Marcos
3b701dca41 Merge branch 'master' into system-query-metric-log 2024-08-29 10:38:29 +00:00
Mikhail Artemenko
4d486f1a74 update error policy 2024-08-28 15:36:15 +00:00
Mikhail Artemenko
7f613563e1 initial impl for cp/mv 2024-08-28 13:39:29 +00:00
Igor Nikonov
3bdad9baa5
Merge branch 'master' into asan-invalid-shared-context-access 2024-08-26 16:20:49 +02:00
Kirill Nikiforov
40462bc716
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-08-23 22:10:06 +04:00
Julia Kartseva
ab874d724d Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-08-22 09:20:49 +00:00
Pablo Marcos
dc169853b8 Merge branch 'master' into system-query-metric-log 2024-08-21 09:33:53 +00:00
Alexander Tokmakov
ee9080fba7
Revert "Fix unexpected behavior with FORMAT and SETTINGS parsing" 2024-08-20 15:11:06 +02:00
Robert Schulze
c25ddba0b4
Merge pull request #68578 from rschu1ze/minor-logging-fixes
Minor logging fixes
2024-08-20 12:09:26 +00:00
János Benjamin Antal
860bd66d7a
Merge pull request #68267 from azat/build/COMMAND_ERROR_IS_FATAL
Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
2024-08-20 11:55:20 +00:00
Kseniia Sumarokova
0f37e46333
Merge branch 'master' into fix-read-settings-in-index-loading 2024-08-20 10:55:34 +02:00
Pablo Marcos
f1d453e544 Merge branch 'master' into system-query-metric-log 2024-08-20 08:36:43 +00:00
Alexey Milovidov
af43ee8682
Merge pull request #67134 from azat/client/ignore_shell_suspend
Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
2024-08-20 02:31:54 +00:00
Julia Kartseva
3c5569514c Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-08-19 23:08:32 +00:00
Kseniia Sumarokova
dddf7d3c86
Merge branch 'master' into fix-read-settings-in-index-loading 2024-08-19 20:40:50 +02:00
Robert Schulze
31f236d4f2
Minor logging fixes 2024-08-19 17:28:27 +00:00
pufit
d4da9b8c8e
Merge pull request #66895 from MikhailBurdukov/hostresolver_opt
Allow filtering ip addresses by ip family in DNS resolver
2024-08-19 15:00:31 +00:00
Azat Khuzhin
e623ad041f Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
C-z is extermelly useful for some users (like myself), so provide a way
to configure it in client and avoid it's ignorance in clickhouse-disks
(I hope it is OK since it is not that known utility and it does not have
it's own configuration, while cli option is useless, one should remeber
about it).

Honestly I've never seen any interactive client that forbids C-z, so
ignoring it my default looks strange to me.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-19 08:33:53 +02:00
Alexey Milovidov
5a6d765fa2
Merge pull request #60197 from ClickHouse/format-settings-parsing
Fix unexpected behavior with `FORMAT` and `SETTINGS` parsing
2024-08-19 05:55:25 +00:00
Alexey Milovidov
285f99f719
Merge pull request #68492 from ClickHouse/pretty-print-tuples-in-create-table-statements
Pretty print tuples in CREATE TABLE statements
2024-08-19 02:26:03 +00:00
Alexey Milovidov
c52c5b3818 Merge branch 'master' into refactor-object-storages 2024-08-19 03:05:09 +02:00
Alexey Milovidov
20ebbc3b26 Merge branch 'master' into format-settings-parsing 2024-08-19 01:48:16 +02:00
Alexey Milovidov
3c32d2828a
Merge pull request #68483 from ClickHouse/temporary-tables-clickhouse-local
Use temporary tables for input and output in `clickhouse-local`
2024-08-18 20:43:43 +00:00
Alexey Milovidov
017af6341b Merge branch 'master' into refactor-object-storages 2024-08-18 09:45:51 +02:00
Alexey Milovidov
7071942858 Miscellanous changes from #66999 2024-08-18 09:05:45 +02:00
Alexey Milovidov
60dd7e962a Fix tests 2024-08-18 05:56:27 +02:00
Alexey Milovidov
4b68ba23c0 Pretty print tuples in CREATE TABLE statements 2024-08-17 03:44:18 +02:00
Alexey Milovidov
b98249ea7f Use temporary tables for input and output in clickhouse-local 2024-08-17 00:06:47 +02:00
Alexey Milovidov
963d8d4d0d Merge branch 'master' into revert-68023-revert-65860-atomic-database-in-clickhouse-local 2024-08-17 00:04:02 +02:00
Alexey Milovidov
b738928c34 Merge branch 'master' into format-settings-parsing 2024-08-16 15:42:02 +02:00
Pablo Marcos
49e9baa0ff Merge branch 'master' into system-query-metric-log 2024-08-16 12:25:49 +02:00
avogar
fed37d24f0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-15 08:02:15 +00:00
Alexey Milovidov
5cf3cfc3d7 Merge branch 'master' into format-settings-parsing 2024-08-15 03:50:21 +02:00
Yakov Olkhovskiy
f4280203a0
Merge pull request #63781 from ClickHouse/ft-chunked-protocol
Add chunked wrapper to native protocol
2024-08-14 10:35:20 +00:00
Alexey Milovidov
ecb08a0d04 Merge branch 'master' into format-settings-parsing 2024-08-14 04:51:51 +02:00
avogar
f82822c993 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 17:14:30 +00:00
Nikita Taranov
dd3fa7c3b6
Merge pull request #61793 from nickitat/keep_alive_max_reqs
Implement `max_keep_alive_requests` setting for server
2024-08-13 15:06:43 +00:00
Yakov Olkhovskiy
3e8a177622
Merge pull request #61908 from ClickHouse/ci-fuzzer-enable
CI: enable libfuzzer (fixing build and docker)
2024-08-13 14:22:09 +00:00
Yarik Briukhovetskyi
086c0f03a6
Merge pull request #65997 from yariks5s/hive_style_partitioning
Implementing Hive-style partitioning
2024-08-13 10:04:21 +00:00
Azat Khuzhin
4c043301e6 Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
This will fix with issues like this [1]:

    Aug 12 09:58:44 '/usr/bin/cmake' '--build' '/build/build_docker/native' '--target' 'pre_compressor'
    Aug 12 09:58:44 sccache: error: Server startup failed: cache storage failed to read: Unexpected (temporary) at stat
    Aug 12 09:58:45 ninja: build stopped: subcommand failed.
    Aug 12 09:58:45 -- Configuring done (77.7s)
    Aug 12 09:58:47 -- Generating done (1.8s)
    Aug 12 09:58:47 -- Build files have been written to: /build/build_docker

So as you can see even if ninja fails it still wrote build files, while
it should fail.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/64955/0af41e32a5822d25ac3760f1ebb2313557474701/builds/report.html
  [2]: 0af41e32a5/binary_darwin_aarch64/build_log.log

Note, COMMAND_ERROR_IS_FATAL is 3.19+, and the requirement for now is
3.20

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-13 10:35:54 +02:00
Yakov Olkhovskiy
93a922f169 merge master 2024-08-13 03:28:25 +00:00
Alexey Milovidov
30b2cb606f Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-08-13 00:01:01 +02:00
Kruglov Pavel
01b2e67f2e
Merge branch 'master' into json-data-type 2024-08-12 23:32:35 +02:00
vdimir
5195bc9060
Merge branch 'master' into pr/allmazz/63279 2024-08-12 16:45:58 +00:00
Alexey Milovidov
c95a40cdf0
Merge pull request #68182 from ClickHouse/fix-transactions
Fix test `01172_transaction_counters`
2024-08-12 16:20:26 +00:00
avogar
cfd854882b Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 15:57:57 +00:00
Robert Schulze
85f63b056b
Merge pull request #68135 from ClickHouse/refactor-field-get
Only use Field::safeGet - Field::get prone to type punning
2024-08-12 14:25:11 +00:00
kssenii
ecee8721df Merge remote-tracking branch 'origin' into fix-read-settings-in-index-loading 2024-08-12 14:39:05 +02:00
Robert Schulze
037a1006fd
Merge remote-tracking branch 'ClickHouse/master' into ci-fuzzer-enable 2024-08-12 12:28:32 +00:00
avogar
9296d4ecfb Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 11:55:39 +00:00
kssenii
09c9ca62e8 Revert "Remove default constructor of ReadSettings"
This reverts commit ba1a23d0ea.
2024-08-12 13:06:03 +02:00
Yarik Briukhovetskyi
8bc89ac8df
Merge branch 'master' into hive_style_partitioning 2024-08-12 11:44:45 +02:00
Alexey Milovidov
9005256bd0 Merge branch 'master' into refactor-object-storages 2024-08-12 08:05:26 +02:00