Commit Graph

4918 Commits

Author SHA1 Message Date
Pablo Marcos
71f8937abd Merge branch 'master' into system-error-log 2024-06-20 16:33:44 +00:00
Alexey Milovidov
a447a25a9d Strict parsing in Keeper client 2024-06-20 15:17:05 +02:00
Alexey Milovidov
5edf7dd9df Strict parsing in Keeper client 2024-06-20 15:13:20 +02:00
divanik
b4ba760874 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-19 12:57:05 +00:00
Kseniia Sumarokova
784f66cf2f
Merge pull request #65239 from ClickHouse/tracing-try-2
Initialize global profiler for Poco::ThreadPool (needed for keeper, etc)
2024-06-19 09:00:46 +00:00
Konstantin Bogdanov
db541b95c7
Fix client failure 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
782bb68a48
Lint 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
28756a493e
Refactor with exceptions 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
f2583db8a1
Support JWT in clickhouse-client 2024-06-19 04:29:46 +02:00
alesapin
85771099f4
Merge pull request #64061 from ClickHouse/workload-for-merges
Workload classification for merges and mutations
2024-06-18 10:17:27 +00:00
Pablo Marcos
216d26987a Add test and config changes for system.error_log 2024-06-18 08:37:40 +00:00
Pablo Marcos
0ae0ca1a95 Add system.error_log that flushes periodically system.errors to disk 2024-06-18 08:37:40 +00:00
divanik
6f841d89e7 Fix tests 2024-06-17 17:41:28 +00:00
divanik
253d745ac5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-17 11:41:59 +00:00
Alexey Milovidov
204b27d0f0 Merge branch 'master' into async-load-by-default 2024-06-17 05:21:13 +02:00
Sergei Trifonov
a17d9d92d7
Merge branch 'master' into workload-for-merges 2024-06-14 18:35:43 +02:00
divanik
752bd00784 Corrected problems and tests 2024-06-14 13:54:12 +00:00
divanik
4ace4006d2 Add documentation for new features in interactive client 2024-06-14 13:02:41 +00:00
Kseniia Sumarokova
321f62d257
Merge pull request #64412 from ClickHouse/unite-storages3-and-disks3-settings
Refactor s3 settings (move settings parsing into single place)
2024-06-14 12:35:47 +00:00
Alexander Tokmakov
bc8c8ffd55
Merge pull request #64986 from ClickHouse/fix_init_order
Fix initialization order (ServerUUID/ZooKeeper)
2024-06-14 12:32:05 +00:00
divanik
2824ca64e0 Tests and code style 2024-06-14 11:06:56 +00:00
divanik
b8992f0397 Create integration test 2024-06-13 19:14:16 +00:00
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +02:00
Daniel Anugerah
4489795502 feat: support accept_invalid_certificate in client's config 2024-06-14 00:40:44 +08:00
Duc Canh Le
82f12ac006 Merge branch 'master' into fix_keeper_default_global_pool
Fix CI
2024-06-13 15:16:58 +00:00
Kseniia Sumarokova
ef8810a60d
Merge branch 'master' into unite-storages3-and-disks3-settings 2024-06-13 14:24:04 +02:00
serxa
08a293a91f Merge branch 'master' into workload-for-merges 2024-06-11 21:33:25 +00:00
Antonio Andelic
f51ed35200 Merge branch 'master' into fix-gwp-asan 2024-06-11 16:57:50 +02:00
divanik
78325c89cc Change help message 2024-06-10 16:17:36 +00:00
kssenii
26ac82dd5c Merge remote-tracking branch 'origin' into unite-storages3-and-disks3-settings 2024-06-10 18:05:52 +02:00
kssenii
571ddb66df Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-06-10 13:17:32 +02:00
Antonio Andelic
c2c5992434 Merge branch 'master' into fix-gwp-asan 2024-06-10 12:50:08 +02:00
Antonio Andelic
25fa5d87f3
Merge pull request #64896 from ClickHouse/fix-global-trace-collector
Fix global trace collector
2024-06-10 09:09:07 +00:00
Antonio Andelic
ee46c82dc2 Merge branch 'master' into fix-gwp-asan 2024-06-10 09:39:13 +02:00
Han Fei
e4a45b863c Merge branch 'master' into hanfei/keeperrocks 2024-06-07 17:32:16 +02:00
Alexander Tokmakov
01ece14035 fix initialization order (ServerUUID/ZooKeeper) 2024-06-07 16:23:40 +02:00
serxa
7594e06ea2 Merge branch 'master' into workload-for-merges 2024-06-07 13:58:41 +00:00
divanik
3f7a9738fe Fix compilation bug 2024-06-07 09:04:28 +00:00
divanik
d7c70d029e Ignore caches and encrypted 2024-06-06 16:56:30 +00:00
Azat Khuzhin
833f031721 Handle logs from rocksdb by ClickHouse internal logging
Someone may not know about /path/to/rocksdb/LOG, and besides it requires
an access to data dir, instead of logs dir.

v2: fix use-after-free due to destruction order (https://s3.amazonaws.com/clickhouse-test-reports/64856/8cefc1a1ba5ddfdda033694a14e1f1847d497092/stateless_tests__asan__[2_4]/stderr.log)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-06 17:47:39 +02:00
Antonio Andelic
bfb1c4c793 better 2024-06-06 11:29:42 +02:00
Antonio Andelic
1d3cf17053 Fix global trace collector 2024-06-06 11:18:31 +02:00
Antonio Andelic
9b16cadbdd Merge branch 'master' into fix-gwp-asan 2024-06-06 09:45:28 +02:00
pufit
86bbcb0037 Startup scripts 2024-06-06 01:42:07 -04:00
divanik
22a1e11520 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-05 18:19:10 +00:00
kssenii
f0974f02ee Merge remote-tracking branch 'origin/master' into unite-storages3-and-disks3-settings 2024-06-05 13:11:20 +02:00
Alexey Milovidov
7c76341e03 Merge branch 'master' into async-load-by-default 2024-06-05 04:49:58 +02:00
Antonio Andelic
5c9aac484d Avoid taking lock 2024-06-04 14:57:43 +02:00
Duc Canh Le
ebf506aef4 Merge branch 'master' into fix_keeper_default_global_pool
Try fixing CI
2024-06-04 08:30:55 +00:00
Antonio Andelic
b2c0917925 Merge branch 'master' into fix-gwp-asan 2024-06-04 09:15:02 +02:00
kssenii
cd3d99a0eb Merge remote-tracking branch 'origin/master' into unite-storages3-and-disks3-settings 2024-06-03 17:37:33 +02:00
Raúl Marín
ee416a6862
Merge pull request #63723 from Algunenano/ifunction_column_size
Add a bunch of important asserts
2024-06-03 14:04:02 +00:00
Konstantin Bogdanov
aa040c506a
Merge pull request #64521 from azat/bash-completion/fix-settings
Fix bash completion for settings
2024-06-03 13:51:56 +00:00
Antonio Andelic
5df91804f6 Add probability setting for GWPAsan 2024-06-03 11:54:37 +02:00
Alexander Gololobov
8c59c5e897
Merge pull request #64628 from ClickHouse/speed_up_keeper_client_find
Speedup find_* keeper-client commands by making multiple async getChildren requests
2024-06-01 21:58:19 +00:00
divanik
439ac99897 Resolve several issues 2024-05-31 13:10:42 +00:00
Alexander Gololobov
9d92d238ad More tidy fixes 2024-05-31 10:15:46 +02:00
Alexander Gololobov
dd5c151d86
clang-tidy fix 2024-05-30 21:22:07 +02:00
kssenii
0571485ef6 Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-05-30 19:45:01 +02:00
kssenii
83c0c9bcde Move everything to NamedCollecitonFactory 2024-05-30 19:43:05 +02:00
kssenii
74c59fa92a Merge remote-tracking branch 'origin/master' into unite-storages3-and-disks3-settings 2024-05-30 16:55:22 +02:00
divanik
75c484a73b Corrected build and some integrations tests 2024-05-30 14:07:25 +00:00
Alexander Gololobov
3da65bb0a2
Apply suggestions from code review
Co-authored-by: Konstantin Bogdanov <thevar1able@users.noreply.github.com>
2024-05-30 15:11:35 +02:00
Pratima Patel
3bfe259ea0 Fix the documentation for config property users_without_row_policies_can_read_rows which is true by default now as per pull request 58584 2024-05-30 08:52:00 -04:00
Alexander Gololobov
abbfbe0472 Build fix 2024-05-30 14:40:27 +02:00
Alexander Gololobov
d0b61f3790
Style fix 2024-05-30 14:16:59 +02:00
Alexander Gololobov
234e0d8e99 Speedup find_* commands by making multiple async getChildren requests 2024-05-30 13:36:33 +02:00
divanik
26e5657e68 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-05-30 11:24:24 +00:00
divanik
3133b757d7 Add query for a non-interactive mode 2024-05-29 14:59:50 +00:00
divanik
0a2d922d23 Fix help message printing 2024-05-29 13:57:29 +00:00
Robert Schulze
18d432f44c
Reapply "Remove some unnecessary UNREACHABLEs"
This reverts commit 5a868304c0.
2024-05-29 13:37:47 +00:00
Robert Schulze
7f4c68c0b8
Port internal changes back to public repo 2024-05-29 08:45:28 +00:00
kssenii
dfd19576cd Fix keeper build 2024-05-28 19:42:57 +02:00
Azat Khuzhin
066475920e Fix bash completion for settings
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-28 18:02:29 +02:00
divanik
856a0e35f2 Remove redundant includes 2024-05-28 13:32:26 +00:00
divanik
a9000bd821 Fix bugs 2024-05-28 13:17:49 +00:00
serxa
c04d7bc2b7 Merge branch 'master' into workload-for-merges 2024-05-28 10:44:59 +00:00
Robert Schulze
2680683863
Merge pull request #64110 from rschu1ze/redundant-inline
Throw out some `inline`s
2024-05-28 09:55:56 +00:00
divanik
4c2d8a1378 Add highlighting 2024-05-27 14:26:20 +00:00
divanik
4574ee7504 Correct style check 2024-05-27 12:45:05 +00:00
divanik
846d46075d Remove comments 2024-05-27 12:17:04 +00:00
divanik
bc21d0fb27 Minor fix 2024-05-27 11:49:59 +00:00
divanik
f7238356d1 Commit from private 2024-05-27 11:44:45 +00:00
Duc Canh Le
4f3e2cae11 start keeper global thread pool with sufficient amount of threads
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-05-27 11:04:52 +00:00
Alexander Tokmakov
5a868304c0
Revert "Remove some unnecessary UNREACHABLEs" 2024-05-27 11:38:22 +02:00
Alexander Tokmakov
3ee2307024
Revert "Refactoring of Server.h: Isolate server management from other logic" 2024-05-27 10:04:19 +02:00
Robert Schulze
4d642a0e6c
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-26 20:43:41 +00:00
Robert Schulze
7a552f5b06
Merge pull request #64035 from rschu1ze/unreachable-unreachable
Remove some unnecessary `UNREACHABLE`s
2024-05-26 20:37:17 +00:00
Robert Schulze
f182920c98
Merge remote-tracking branch 'ClickHouse/master' into redundant-inline 2024-05-26 14:21:47 +00:00
TTPO100AJIEX
251010f109 Move protocol-server and inter-server management into separate classes
Co-authored-by: Alex Koledaev <ax3l3rator@gmail.com>
2024-05-24 02:14:26 +03:00
Anton Ivashkin
983fa64e4f Fix CertificateReloader usage for custom protocols 2024-05-23 17:53:23 +02:00
Antonio Andelic
3ff1b20e05
Merge pull request #64218 from ClickHouse/ignore-text-log-keeper
Ignore `text_log` for Keeper
2024-05-23 06:45:20 +00:00
Robert Schulze
f792a602da
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 21:08:27 +00:00
Robert Schulze
f584807359
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-22 21:05:27 +00:00
Raúl Marín
c95041cca2
Merge pull request #64180 from Beetelbrox/fjurado-64137/feat-count-attached-views-and-dictionaries-independently
[64137] Split attached table count into attached tables, views and dictionaries
2024-05-22 17:04:51 +00:00
Raúl Marín
72604ab940 Merge remote-tracking branch 'blessed/master' into ifunction_column_size 2024-05-22 17:37:43 +02:00
Kruglov Pavel
4989109e13
Merge pull request #63662 from v01dXYZ/63496-compression-from-file-descriptor
Compress STDOUT if redirected to file with a compression extension
2024-05-22 13:37:05 +00:00
Antonio Andelic
5c47b09114 Ignore text_log for Keeper 2024-05-22 13:18:51 +02:00
Robert Schulze
0d3aeddc93
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 07:25:00 +00:00
Robert Schulze
58e655e07b
Incorporate review feedback 2024-05-22 07:24:42 +00:00
Raúl Marín
2e1f2565ea Merge remote-tracking branch 'blessed/master' into ifunction_column_size 2024-05-21 12:33:56 +02:00
Francisco Javier Jurado Moreno
e1caea6ab5 Split attached table count into attached tables, views and dictionaries 2024-05-21 11:29:07 +02:00
Robert Schulze
a14e58ab88
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-21 05:15:35 +00:00
Robert Schulze
70637b2ecf
Merge remote-tracking branch 'rschu1ze/master' into move-isallascii 2024-05-20 13:01:53 +00:00
Robert Schulze
7887ab3848
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-20 12:58:39 +00:00
Robert Schulze
2ceb8b9c8f
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-20 12:56:38 +00:00
Kseniia Sumarokova
42c984df64
Merge pull request #63475 from tomershafir/disks-io-iouring-refactor-get-from-context
io_uring: refactor get reader from context
2024-05-20 10:17:32 +00:00
Robert Schulze
113bb00005
Fix clang-tidy "-readability-redundant-inline-specifier" 2024-05-19 10:23:58 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Robert Schulze
9969f9cf30
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-19 08:26:39 +00:00
Alexey Milovidov
bd9709adee
Merge pull request #64022 from ClickHouse/fix-analyzer
Fix a typo in Analyzer
2024-05-17 20:02:13 +02:00
serxa
96e19ac548 add merge_workload and mutation_workload settings for server and merge tree 2024-05-17 17:10:40 +00:00
Sema Checherinda
9e4f41f42c
Merge pull request #60852 from azat/http_max_chunk_size
Remove http_max_chunk_size setting (too internal)
2024-05-17 11:49:04 +00:00
Robert Schulze
53e992af4f
Remove some unnecessary UNREACHABLEs 2024-05-17 11:46:07 +00:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
Alexander Gololobov
935ffe14f0
Merge pull request #63862 from ClickHouse/keeper_client_fixes
Fixes in `find_super_nodes` and `find_big_family` command of keeper-client
2024-05-16 20:01:51 +00:00
Azat Khuzhin
49a52cdb3f Remove http_max_chunk_size setting (too internal)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-16 18:33:43 +02:00
Raúl Marín
698c53b60f Better 2024-05-16 14:05:12 +02:00
Alexander Gololobov
8b87ec301e Skip whitespaces before optional path arg 2024-05-16 10:36:04 +02:00
Alexander Gololobov
d4735cb1ce Add ErrorCodes 2024-05-15 19:17:53 +02:00
Alexander Gololobov
4de7773783 Properly calculate number of nodes in subtree 2024-05-15 17:50:46 +02:00
Alexander Gololobov
a5a614bff7 Traverse supernode tree because it can have other supernodes inside 2024-05-15 17:30:17 +02:00
Alexander Gololobov
8bf5dd9a97 Handle concurrent deletion on nodes 2024-05-15 17:28:47 +02:00
Han Fei
171bf4f201 Merge branch 'master' into hanfei/fix-intersection 2024-05-15 13:59:52 +02:00
v01dxyz
8e63d2f795 Compress STDOUT if redirected to file with a compression extension
* Add a new member to ClientBase: default_output_compression_method
* Move the code to get file path from file descriptor to a separate
  Common function.

The stateless test is almost a copy-paste of 02001_compress_output_file.

Fixes https://github.com/ClickHouse/ClickHouse/issues/63496
2024-05-13 09:21:01 +02:00
Alexey Milovidov
a1e6d1a6a9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-11 00:42:14 +02:00
Sergei Trifonov
e8d43fa572
Merge pull request #63404 from ClickHouse/fix-oklch-for-firefox
Workaround for `oklch()` inside canvas bug for firefox
2024-05-10 12:05:35 +00:00
tomershafir
b97bf456c6 try fix build 2024-05-09 20:53:36 +03:00
Alexey Milovidov
224e1940ae Useless changes 2024-05-09 03:58:34 +02:00
Alexey Milovidov
0d14a2c67e Useless changes 2024-05-09 03:11:02 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
Alexey Milovidov
95f12ef274 Useless changes 2024-05-09 01:08:33 +02:00
Han Fei
116055b532 refine load part logic 2024-05-08 15:04:16 +02:00
serxa
48d6c3760d workaround for oklch() inside canvas bug for firefox 2024-05-06 12:05:37 +00:00
Alexey Milovidov
77c0ebd3ee Merge branch 'master' into tacit 2024-05-05 00:20:41 +02:00
Alexey Milovidov
7ac5821a23
Merge pull request #63074 from ClickHouse/local-less-directories
Less directories in clickhouse-local
2024-05-05 00:19:31 +02:00
Alexey Milovidov
c7eccf42c3
Merge pull request #63296 from ClickHouse/discus
DiskApp: fix 'list --recursive /' and crash on invalid arguments
2024-05-04 18:23:44 +00:00
Michael Kolupaev
37f6e331c6 DiskApp: fix 'list --recursive /' and crash on invalid arguments 2024-05-03 20:32:23 +00:00
Anton Popov
960440e59a add option query_id_prefix to clickhouse-benchmark 2024-05-03 16:44:12 +00:00
Han Fei
894fd4f395 Merge branch 'master' into hanfei/keeperrocks 2024-05-03 17:58:26 +02:00
Alexey Milovidov
b5f454fb46 Less directories 2024-05-03 03:30:28 +02:00
Alexey Milovidov
ed1bbd0bd0 Merge branch 'master' into local-less-directories 2024-05-03 02:35:44 +02:00
Alexey Milovidov
6f21c34b5f Merge branch 'master' into tacit 2024-05-03 02:22:01 +02:00
alesapin
eacbf5fe10 Fix premature server listen for connections 2024-04-30 14:32:03 +02:00
Alexey Milovidov
1546c9e3b8
Update LocalServer.cpp 2024-04-30 05:46:06 +03:00
Alexey Milovidov
817570c5e4
Merge branch 'master' into local-less-directories 2024-04-30 04:45:33 +02:00
Alexey Milovidov
7d53b4fd38
Update programs/local/LocalServer.cpp
Co-authored-by: Konstantin Bogdanov <thevar1able@users.noreply.github.com>
2024-04-30 05:45:05 +03:00
Alexey Milovidov
d7d38b14e8 Fix tests 2024-04-30 04:21:44 +02:00
Alexey Milovidov
34450ec87d Merge branch 'master' into tacit 2024-04-30 02:46:57 +02:00
Julia Kartseva
24d5abba10 extract plain_rewritable metadata type
Make PlainRewritableObjectStorage generic;

Support config type
```
<s3_plain_rewritable>
    <type>object_storage</type>
    <object_storage_type>s3</object_storage_type>
    <metadata_type>plain_rewritable</metadata_type>
    <endpoint>https://s3.eu-west-1.amazonaws.com/clickhouse-eu-west-1.clickhouse.com/data/</endpoint>
    <use_environment_credentials>1</use_environment_credentials>
</s3_plain_rewritable>
```
2024-04-29 18:01:21 +00:00
Julia Kartseva
802ee27b1b address feedback - pt.3
non-functional changes
2024-04-29 18:01:21 +00:00
Julia Kartseva
75147f3ac7 S3-plain based disk supporting directory rename
Fixes: https://github.com/ClickHouse/ClickHouse/issues/58347
2024-04-29 18:01:21 +00:00
Nikolay Degterinsky
8f06a1a993 Merge remote-tracking branch 'upstream/master' into fix-data-race-in-context 2024-04-29 14:37:46 +00:00
Alexey Milovidov
fae8080130 Allow using clickhouse-local with a positional argument 2024-04-28 04:39:56 +02:00
Alexey Milovidov
030f711404 Even less directories 2024-04-27 20:01:54 +02:00
Alexey Milovidov
6a083ebed0 Even less directories 2024-04-27 19:13:17 +02:00
Alexey Milovidov
089cc25d9b Less directories 2024-04-27 19:05:58 +02:00
Alexey Milovidov
39118ef461 Hopefully better 2024-04-27 18:47:03 +02:00
Alexey Milovidov
5610260399 Fix removal of temporary directories 2024-04-27 18:36:46 +02:00
Alexey Milovidov
2fafae45be Fix removal of temporary directories 2024-04-27 18:33:34 +02:00
Alexey Milovidov
14e32aa1a1 Less directories in clickhouse-local 2024-04-27 18:24:05 +02:00
Robert Schulze
0fd2d573ae
Move hint to system.settings up 2024-04-26 12:10:51 +00:00
Yarik Briukhovetskyi
eee6fa4242
cosmetic fixes, comments for tests, user hints fixes 2024-04-26 13:19:22 +02:00
Yarik Briukhovetskyi
f623ee99f8
Update message for clickhouse local 2024-04-25 18:57:42 +02:00
Yarik Briukhovetskyi
5b4b4087e3
fixed build, moved verbose to help, fixed exception message 2024-04-25 18:51:17 +02:00
Yarik Briukhovetskyi
87c54b79ef
revert changes for clickhouse benchmark 2024-04-25 18:34:28 +02:00
Yarik Briukhovetskyi
d87bd11d41
Update Benchmark.cpp 2024-04-25 17:43:24 +02:00
Yarik Briukhovetskyi
aae67062bf
Update Benchmark.cpp 2024-04-25 17:27:58 +02:00
Yarik Briukhovetskyi
317017c495
small fixes 2024-04-25 17:24:03 +02:00
Yarik Briukhovetskyi
a36d86f63a
add --verbose for help and suggest to use system.settings 2024-04-25 17:01:34 +02:00
yariks5s
0cc404a74c init 2024-04-25 13:39:09 +00:00
Alexander Tokmakov
e752ebdf9c
Merge pull request #62658 from ClickHouse/install_path
Don't allow relative paths when installing
2024-04-25 11:18:00 +00:00
Nikolay Degterinsky
bf3d33b61c Fix data race 2024-04-24 21:08:49 +00:00
Konstantin Bogdanov
38e8b4991e
Undo breaking change 2024-04-22 00:01:33 +02:00
Anton Popov
f09d0b6536
Merge pull request #62608 from CurtizJ/azure-retries
Better retries in azure sdk
2024-04-19 12:01:42 +00:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
Anton Popov
b50117780c Merge remote-tracking branch 'upstream/master' into HEAD 2024-04-17 13:05:46 +00:00
János Benjamin Antal
599e928e1f
Merge pull request #61997 from azat/sentry-logical-error
[RFC] Send LOGICAL_ERRORs to sentry
2024-04-16 12:26:42 +00:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
Robert Schulze
2a3b5bd74d
Merge pull request #58956 from AVMusorin/kafka-settings
Separate consumer/producer settings for Kafka
2024-04-15 15:11:19 +00:00
Alexander Tokmakov
91d4284bdf don't allow relative paths when installing 2024-04-15 16:21:09 +02:00
Anton Popov
9e54a833ed fix build 2024-04-12 18:41:40 +00:00
Anton Popov
47c653f87c better retries in azure sdk 2024-04-12 15:39:14 +00:00
Alexander Tokmakov
b5ff1c0a6e
Merge branch 'master' into cannot_allocate_thread 2024-04-12 13:35:14 +02:00
Konstantin Bogdanov
c3af6b37e4
Merge pull request #62209 from ClickHouse/faster_01676_clickhouse_client_autocomplete
Unflake and speed up `01676_clickhouse_client_autocomplete`
2024-04-11 21:28:48 +00:00
Alexander Tokmakov
55c510563c Merge branch 'master' into cannot_allocate_thread 2024-04-11 23:06:17 +02:00
Azat Khuzhin
f1cb1f80b6 Make sending LOGICAL_ERRORs to sentry configurable
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:56:26 +02:00
Robert Schulze
bf03ed81a9
Merge pull request #62489 from yokofly/fix/macOS-binary-install-dir
Fix macOS binary install directory
2024-04-11 08:04:50 +00:00
Konstantin Bogdanov
63351e2fbb
Merge branch 'master' into faster_01676_clickhouse_client_autocomplete 2024-04-11 01:34:05 +02:00
Yakov Olkhovskiy
d554dc61fb
Merge pull request #61923 from azat/local-input
Implement input() for clickhouse-local
2024-04-10 21:55:51 +00:00
Alexander Tokmakov
d8e97b51bf Merge branch 'master' into cannot_allocate_thread 2024-04-10 21:21:42 +02:00
Robert Schulze
752a69b6dd
Minor fixups 2024-04-10 17:37:24 +00:00
Konstantin Bogdanov
fd0f6418e2
Merge branch 'master' into faster_01676_clickhouse_client_autocomplete 2024-04-10 16:15:21 +02:00
yokofly
e4cb27eda3 fix macOS binary install
the usr/bin is not suitable for macOS
https://superuser.com/questions/933019/sudo-cant-create-file-in-usr-bin-in-el-capitan
after apply this patch, we can `sudo ./clickhouse --install` on MacOS
2024-04-10 21:27:48 +08:00
Han Fei
8200f5e383 Merge branch 'master' into hanfei/keeperrocks 2024-04-10 15:07:44 +02:00
Kruglov Pavel
8ef64b0581
Merge pull request #61476 from Avogar/better-stress-upgrade-checks
Ignore DROP queries in stress test with 1/2 probability and TRUNCATE Memory/JOIN table instead of ignoring DROP in upgrade check
2024-04-10 12:43:22 +00:00
Konstantin Bogdanov
414b028931
Support synchronous completions in local server too 2024-04-10 13:08:38 +02:00
Konstantin Bogdanov
c8598bdb54
Add a flag to load suggestion data synchronously 2024-04-10 13:08:38 +02:00
Robert Schulze
8167b774b5
Merge pull request #62307 from rschu1ze/cleanup-ssh
Cleanup SSH-based authentication code
2024-04-09 21:10:09 +00:00
Nikita Taranov
a2147b8ded
Merge branch 'master' into keep_alive_max_reqs 2024-04-09 21:32:36 +02:00
Robert Schulze
22e164c65d
Merge pull request #62375 from rschu1ze/static-instance2
Don't access static members through instance, pt. II
2024-04-09 14:37:24 +00:00
Azat Khuzhin
5caa89a2b3 Fix completion of available ClickHouse tools
Now clickhouse --help/ch --help will print --help for clickhouse-local,
let's use just "clickhouse help" to get help with list of available
tools in clickhouse binary itself.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-09 15:37:56 +02:00
pufit
6329dc8124 fix 2024-04-09 15:05:49 +02:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2 2024-04-09 11:45:27 +00:00
avogar
71666cb42f Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks 2024-04-08 13:58:14 +00:00
Robert Schulze
dca6e0abbd
Fix the build (after boringssl submodule removal) 2024-04-08 11:02:41 +00:00
Alexey Milovidov
cf0469e866
Merge pull request #62365 from ClickHouse/dhparams-are-not-by-default
dhparams are not enabled by default
2024-04-08 01:32:03 +02:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Alexey Milovidov
a6dbaf5408 dhparams are not enabled by default 2024-04-06 21:45:26 +02:00
alesapin
22caa3eb73 Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-06 11:21:27 +02:00
Kruglov Pavel
589034c34c
Merge branch 'master' into better-stress-upgrade-checks 2024-04-05 15:27:02 +02:00
alesapin
e514a8b49d Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-05 12:40:25 +02:00
Robert Schulze
9d8f643f5b
Cleanup SSH-based authentication code 2024-04-05 08:43:23 +00:00
Alexey Milovidov
c8da569459 Merge branch 'master' into bridges-are-separate 2024-04-04 20:04:31 +02:00
Han Fei
5ec1d950ea Merge branch 'master' into hanfei/keeperrocks 2024-04-04 17:03:31 +02:00
Robert Schulze
7ce2a47ba5
Merge pull request #62265 from rschu1ze/static-instance
Don't access static members through instance
2024-04-04 14:36:03 +02:00
Yarik Briukhovetskyi
edacb991e0
Merge pull request #62257 from yariks5s/fix_retention_docs
Fix s3-style link mapper for gcs
2024-04-04 14:30:33 +02:00
Alexander Tokmakov
c53b20a770 fix 2024-04-03 20:57:12 +02:00
Robert Schulze
de2a0be025
Don't access static members through instance
- clang-tidy rightfully complains (-readability-static-accessed-through-instance)
- not going to enable the warning for now to avoid breaking the build
2024-04-03 18:50:33 +00:00
Alexander Tokmakov
98ac8031e0 add fault injection 2024-04-03 19:49:23 +02:00
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
yariks5s
ca27cf3fde fix mapper for gcs 2024-04-03 16:38:41 +00:00
avogar
d87d5a9197 Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks 2024-04-03 12:07:22 +00:00
alesapin
f5c5146153 [RFC] Try to add global Real and CPU trace collector 2024-04-02 18:04:53 +02:00
Raúl Marín
c35a436435 Remove nested dependency on DateLutImpl 2024-04-02 14:45:48 +02:00
Yakov Olkhovskiy
8357bc7b1b fix build 2024-03-31 23:33:35 +00:00
Alexey Milovidov
89cee0a3d6 Move bridges to separate packages 2024-03-31 01:59:36 +01:00
Aleksandr Musorin
f9d81bc774 refactore: improve reading several configurations for kafka
Simplify and do some refactoring for kafka client settings.

Allows to set up separate
settings for consumer and producer like:

```
<consumer>
    ...
</consumer>

<producer>
    <kafka_topic>
        <name>topic_name</name>
        ...
    </kafka_topic>
</producer>
```

Moreover, this fixes warnings from kafka client like:
`Configuration property session.timeout.ms is a consumer property and
will be ignored by this producer instance`
2024-03-27 14:53:33 +01:00
Nikita Taranov
64e6c6a2fc fix tidy 2024-03-26 22:32:22 +00:00
Azat Khuzhin
469be8ee8a Implement input() for clickhouse-local
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 13:49:53 +01:00
Azat Khuzhin
be2767b55c Make ClientBase::parseQuery() static
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 10:54:57 +01:00
Kruglov Pavel
de1229ba60
Merge branch 'master' into better-stress-upgrade-checks 2024-03-25 19:18:35 +01:00
Alexey Milovidov
aca3978f2d Remove DataStreams (2) 2024-03-24 17:21:53 +01:00
Alexey Milovidov
c0c8cdc185 Add modifications 2024-03-23 02:42:22 +01:00
Alexey Milovidov
7365f4e32b Add modifications 2024-03-23 01:43:28 +01:00
Nikita Taranov
c33511dcb9 remove more 2024-03-22 20:24:53 +00:00
Nikita Taranov
b93f483a0e fix build 2024-03-22 20:07:12 +00:00
Alexey Milovidov
18c016caaa Support for --output-format in client 2024-03-22 21:06:36 +01:00
Nikita Taranov
146d760338 rm more 2024-03-22 17:38:06 +00:00
Nikita Taranov
d7b34a80bb stash 2024-03-22 16:09:14 +00:00
robot-ch-test-poll
03a4b5fb58
Merge pull request #61053 from ClickHouse/async-loader-waiters-limit
Separate limits on number of waiting and executing queries
2024-03-22 03:15:25 +01:00
Alexey Milovidov
4d113c2190
Merge pull request #61508 from ClickHouse/generic-clickhouse-local-fuzzer
Generic fuzzer of query text in clickhouse-local
2024-03-21 21:17:28 +03:00
Alexey Milovidov
9afe096ff5
Merge pull request #61681 from ClickHouse/remove-diagnostics
Remove clickhouse-diagnostics from the package
2024-03-21 19:50:47 +03:00
serxa
c31b958f88 Merge branch 'master' into async-loader-waiters-limit 2024-03-21 10:58:22 +00:00
Mikhail f. Shiryaev
5b0610b9e3
Merge pull request #61530 from ClickHouse/fix-client-s
Fix client `-s` argument
2024-03-21 10:17:45 +01:00
Alexey Milovidov
784de2dca3 Merge branch 'master' into generic-clickhouse-local-fuzzer 2024-03-21 03:18:05 +01:00
Alexey Milovidov
bfc7c3c89e Remove clickhouse-diagnostics 2024-03-21 02:52:51 +01:00
Alexey Milovidov
6f4ce33f02 Change how fuzzer arguments are parsed 2024-03-20 22:12:57 +01:00
Mikhail f. Shiryaev
5c1a54f643
Fix clickhouse-client -s argument 2024-03-20 12:33:45 +01:00
Alexey Milovidov
7b7e260585 Merge remote-tracking branch 'origin/master' into generic-clickhouse-local-fuzzer 2024-03-20 01:28:28 +01:00
Raúl Marín
de855ca917 Reduce header dependencies 2024-03-19 17:04:29 +01:00
Han Fei
587b176a2e fix keeper build 2024-03-19 16:06:53 +01:00
avogar
31d5049f80 Move logic of ignoring drop queries to server 2024-03-18 16:26:05 +00:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords [Part 1] (#51808) 2024-03-18 16:58:57 +01:00
avogar
aadc610739 Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks 2024-03-18 15:27:58 +00:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Robert Schulze
fe86741059
Some fixups 2024-03-18 10:44:56 +00:00
alesapin
0faf4eacb8
Merge pull request #61299 from ClickHouse/merge_config
Add ability to merge includes for config preprocessor for configs
2024-03-18 11:22:42 +01:00
Alexey Milovidov
2eb7de859d Correct arguments parsing 2024-03-18 02:35:32 +01:00
Alexey Milovidov
1a61da1bae Replace getFuzzerData with query text fuzzer in clickhouse-local 2024-03-18 02:17:24 +01:00
Han Fei
c375cbe531 Merge branch 'master' into hanfei/keeperrocks 2024-03-18 00:06:42 +01:00
Alexey Milovidov
01136bbc3b Limit backtracking in parser 2024-03-17 19:54:45 +01:00
Alexey Milovidov
bfea36877b
Merge pull request #61499 from ClickHouse/fix-fuzzers
Fix fuzzers
2024-03-17 21:15:10 +03:00
Alexey Milovidov
44e918bc67 Revive getFuzzerData 2024-03-17 16:22:33 +01:00
Alexey Milovidov
427a8b3264 Less crap 2024-03-17 13:20:49 +01:00
Han Fei
e57bf34564 Merge branch 'master' into hanfei/keeperrocks 2024-03-15 23:03:32 +01:00
avogar
4ceff16787 Fix bad conflict resolution 2024-03-15 20:29:19 +00:00
avogar
fa9d9ea3f7 Ignore DROP queries in stress test with 1/2 probability, use TRUNCATE instead of ignoring DROP in upgrade check for Memory/JOIN tables 2024-03-15 20:23:39 +00:00
Han Fei
91d18649f4 update comments 2024-03-15 16:23:51 +01:00
alesapin
38cd6ef27d Merge branch 'master' into merge_config 2024-03-15 13:52:52 +01:00
Alexey Milovidov
c9fb8ef54b Merge branch 'master' into split-cast-overload-resolver 2024-03-15 07:09:51 +01:00
Alexey Milovidov
1a41aa4ac7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-14 13:06:23 +01:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-14 10:44:20 +00:00
jsc0218
c5dc35e5c4 try enable grant of table engine in test 2024-03-14 01:31:45 +00:00
jsc0218
b3b46ea708 Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-03-14 00:36:29 +00:00
Robert Schulze
4e12b5dc91
Some fixups 2024-03-13 16:54:20 +00:00
Robert Schulze
ce665eae30
Doc fixups 2024-03-13 15:13:17 +00:00
Kruglov Pavel
14402e450a
Merge pull request #61036 from HowePa/detect_stdout
Detect output format by file exctension in clickhouse-client(local)
2024-03-13 14:57:59 +01:00
alesapin
9b1d8a2f52 fix style 2024-03-13 14:15:34 +01:00
alesapin
6203d45b96 working version with comments 2024-03-13 13:12:48 +01:00
Han Fei
c7c64636d0 add a test 2024-03-12 23:31:33 +01:00
Robert Schulze
1b1685e3f1
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-12 13:02:59 +00:00
Alexey Milovidov
5222ebc4b4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-12 06:37:38 +01:00
Nikita Mikhaylov
cfa042cb04 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 15:45:20 +00:00
Robert Schulze
81b2a1f621
Fix build 2024-03-11 15:34:02 +00:00
Robert Schulze
802bae9661
GCC --> clang pragmas 2024-03-11 12:55:56 +00:00
Alexey Milovidov
4373d5ba16 Merge branch 'master' into split-cast-overload-resolver 2024-03-11 03:01:50 +01:00
serxa
5b796e1f42 Merge branch 'master' into async-loader-waiters-limit 2024-03-10 15:20:27 +00:00
Sema Checherinda
80179e50e4
Merge pull request #58845 from ClickHouse/chesema-session-pool
HTTP connections pool
2024-03-10 14:06:59 +01:00
Alexey Milovidov
1179a70c21
Merge pull request #61118 from ClickHouse/simplify-bridges
Simplify bridges
2024-03-10 14:46:52 +03:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Alexey Milovidov
3b8a8c9649 Better gitignore 2024-03-10 09:28:30 +01:00
Alexey Milovidov
157adefc70 Fix error 2024-03-10 09:17:29 +01:00
Alexey Milovidov
1a2d403f7b Miscellaneae 2024-03-10 09:16:21 +01:00
Alexey Milovidov
9ddec346a0 Miscellaneous 2024-03-10 09:02:34 +01:00
Alexey Milovidov
3ac4f56cfa Fix tests 2024-03-09 18:53:31 +01:00
Alexey Milovidov
e9ab3ed2dd Even better 2024-03-09 09:27:11 +01:00
Alexey Milovidov
47b308d234 Simplify bridges 2024-03-09 08:42:33 +01:00
Alexey Milovidov
70796e497f Miscellaneous 2024-03-09 08:32:13 +01:00
Alexey Milovidov
574d486322 Something 2024-03-09 07:55:59 +01:00