Commit Graph

5037 Commits

Author SHA1 Message Date
Nikita Mikhaylov
80d2686013 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-06 13:12:03 +02:00
Alexey Milovidov
6a3d4152d7 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-06 03:29:50 +02:00
Alexey Milovidov
3419b916a9
Merge pull request #66457 from AVMusorin/add-play-now-param
Allow run query instantly in play
2024-08-06 00:50:51 +00:00
Kirill Nikiforov
a28a82d344
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-08-05 20:57:15 +03:00
Nikita Mikhaylov
6f025090eb Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-05 17:46:14 +02:00
Yarik Briukhovetskyi
9b06753bb7
Merge branch 'master' into hive_style_partitioning 2024-08-05 17:02:27 +02:00
Alexey Milovidov
f601b2870e
Merge pull request #65978 from azat/keeper-config-cleanup
Remove default values for certificateFile/privateKeyFile/dhParamsFile in keeper config (to avoid annoying errors in logs)
2024-08-05 12:25:48 +00:00
vdimir
80e948c8d2
try to fix server_settings in local 2024-08-05 10:08:30 +00:00
vdimir
7add8ecc7a
Merge pull request #67135 from azat/local/config-from-home
Read configuration for clickhouse-local from ~/.clickhouse-local
2024-08-05 09:44:22 +00:00
Azat Khuzhin
eed2edd7db Comment certificateFile/privateKeyFile/dhParamsFile in keeper config
Otherwise you will get annoying messages at startup:

    2024.07.02 10:03:38.331593 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for certificate file /etc/clickhouse-keeper/server.crt, skipping update. errno: 2, strerror: 0
    2024.07.02 10:03:38.331658 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for key file /etc/clickhouse-keeper/server.key, skipping update. errno: 2, strerror: 0
    2024.07.02 10:03:38.341085 [ 1 ] {} <Error> CertificateReloader: Poco::Exception. Code: 1000, e.code() = 0, SSL context exception: Error loading private key from file /etc/clickhouse-keeper/server.key: error:80000002:system library::No such file or directory

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-04 16:20:42 +02:00
Alexey Milovidov
3efa208680
Merge pull request #67729 from ClickHouse/fix-typo
Fix a typo
2024-08-03 23:04:41 +00:00
Alexey Milovidov
6a20f777f6
Merge pull request #67428 from ClickHouse/enable-text-log
Enable `text_log` by default
2024-08-03 23:02:40 +00:00
Alexey Milovidov
8b39486e21 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-04 00:59:31 +02:00
Kirill Nikiforov
e5119ce61f
fix joins and rename ENABLE_MONGODB -> USE_MONGODB 2024-08-04 00:51:27 +03:00
Alexey Milovidov
a2b1131cc8 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-03 20:19:49 +02:00
Alexey Milovidov
65bba77771 Fix typo 2024-08-03 18:30:33 +02:00
Vitaly Baranov
03ebab2ca5 Refactor factory of PrometheusRequestHandler to make extending it easier. 2024-08-03 16:20:23 +02:00
Alexey Milovidov
090fb59194 Automatic field width of chart parameters 2024-08-03 02:20:58 +02:00
Alexey Milovidov
eeb8c1caac Improve margins when there are many parameters 2024-08-03 02:06:53 +02:00
Alexey Milovidov
a99f9bb603 Focus on the mass editor 2024-08-03 01:50:27 +02:00
Alexey Milovidov
95659de265 Fix invalid detection of an empty result 2024-08-03 01:45:41 +02:00
Alexey Milovidov
a6f9dd4447 Improve dashboard 2024-08-03 01:35:10 +02:00
Alexey Milovidov
a431ab3e4b Improve dashboard 2024-08-03 01:31:02 +02:00
Igor Nikonov
76847d9b4c Fix(asan) : access destroyed shared context from handleCrash() 2024-08-02 22:43:05 +00:00
pufit
0ec292a65f Revert "Revert "FuzzQuery table function""
This reverts commit ff44b206
2024-08-02 00:32:01 -04:00
Kirill Nikiforov
114d214ba4
fix tests and seg fault 2024-08-01 21:56:56 +03:00
Alexey Milovidov
26e42036b3 Merge branch 'master' into enable-text-log 2024-07-31 22:46:56 +02:00
Yarik Briukhovetskyi
fac73a0944
Merge branch 'master' into hive_style_partitioning 2024-07-31 18:25:08 +02:00
vdimir
90d2d36209
Merge branch 'master' into pr/allmazz/63279 2024-07-31 12:09:46 +00:00
Raúl Marín
850b7f71fb
Merge pull request #66528 from Algunenano/getSettingsCopy
Rename Context::getSettings()
2024-07-31 09:55:21 +00:00
Yakov Olkhovskiy
adf7ee1c7a merge master 2024-07-30 23:05:45 +00:00
Nikita Mikhaylov
14d0cc2bf3
Merge pull request #67228 from ClickHouse/drop-tables-even-faster
Cleanup code and speedup table removal
2024-07-30 22:50:36 +00:00
Alexey Milovidov
52ce61a006 Merge branch 'master' into enable-text-log 2024-07-30 20:18:25 +02:00
Sergei Trifonov
05f1d122b1
Merge pull request #67232 from azat/dashboard-from-config-resubmit
Add ability to load dashboards for system.dashboards from config
2024-07-30 13:18:22 +00:00
Nikita Mikhaylov
61cf7668c7
Merge pull request #66549 from ClickHouse/client-base-application
Uninteresting change: introducing `ClientApplicationBase`
2024-07-30 12:50:23 +00:00
vdimir
7eddb93935
Merge branch 'master' into pr/allmazz/63279 2024-07-30 10:54:45 +00:00
Yarik Briukhovetskyi
f0da5c528f
Merge branch 'master' into hive_style_partitioning 2024-07-30 11:49:14 +02:00
Antonio Andelic
2ea4bfe04d
Merge pull request #67098 from ClickHouse/add-numactl
Try calculating available memory if ClickHouse is bound to subset of NUMA nodes
2024-07-30 08:30:58 +00:00
Alexey Milovidov
a70571762f Enable text_log by default 2024-07-30 10:08:35 +02:00
Yakov Olkhovskiy
c1f45f632b merge master 2024-07-30 05:12:43 +00:00
Nikita Mikhaylov
2aafd71146 Moved settings to ServerSettings and made the table drop even faster
(cherry picked from commit e1eb542dcc2b9fbc6a470a3cd9a183e79c86d7c7)
2024-07-30 00:39:29 +02:00
Nikita Mikhaylov
1c9d60ca97 Refactoring 2024-07-29 17:28:03 +00:00
Kruglov Pavel
813f4015db
Merge branch 'master' into json-data-type 2024-07-29 13:08:51 +02:00
Antonio Andelic
ba1c191331
Update programs/keeper/Keeper.cpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-07-29 11:47:57 +02:00
wxybear
906d709d84
clickhouse-client/local: make multi-query mode the default 2024-07-29 09:44:59 +00:00
Raúl Marín
4fab47aa54 Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-29 11:31:43 +02:00
Alexey Milovidov
099cdab82e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-28 23:21:37 +02:00
Alexey Milovidov
47af56e9c0
Merge pull request #67290 from ClickHouse/test-keeper-map-add-retries
Add retries to test `02911_backup_restore_keeper_map`
2024-07-28 16:48:18 +02:00
Antonio Andelic
a9b947d9ac Extract common 2024-07-28 11:51:09 +02:00
Antonio Andelic
6f2d25cc39 Merge branch 'master' into add-numactl 2024-07-28 11:29:26 +02:00
Alexey Milovidov
61cc5a1e54 Add retries to test 02911_backup_restore_keeper_map 2024-07-27 23:17:38 +02:00
Alexey Milovidov
d6c0f4d4a5 Merge branch 'master' into fix-bad-test-gerasimchuk 2024-07-27 22:59:58 +02:00
Vitaly Baranov
b64c781457
Merge pull request #67133 from vitlibar/fix-context-race-in-clickhouse-local
Use a separate client context in clickhouse-local
2024-07-27 20:12:24 +00:00
Alexey Milovidov
23cd9f2224 Fix bad test @Demilivor 2024-07-27 17:18:45 +02:00
Vitaly Baranov
554cf91f4b Add missing call applyCmdOptions(). 2024-07-27 14:43:26 +02:00
Kirill Nikiforov
c23e3d8663
Merge branch 'master' into mongodb_refactoring 2024-07-27 15:33:46 +03:00
Vitaly Baranov
46218b68ff Initialize the client_context after quota_key in clickhouse-client. 2024-07-27 06:32:26 +02:00
Azat Khuzhin
870ec237bb Add ability to load dashboards for system.dashboards from config
One of the obvious reasons is to allow rendering them with readonly
user, which is not possible right now, due to usage of merge() function
there.

Another one, is to add some custom metrics.

Note, that once set, they overrides the default dashboards preset.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-26 21:21:09 +02:00
Vitaly Baranov
0cf0437196 Use separate client context in clickhouse-local 2024-07-26 13:26:15 +02:00
Antonio Andelic
71a5a42f8f Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-26 11:17:54 +02:00
Antonio Andelic
287cce7d21 Fixes 2024-07-26 09:20:15 +02:00
Antonio Andelic
cd4b56b031 Merge branch 'master' into add-numactl 2024-07-26 08:22:41 +02:00
Azat Khuzhin
5ea867231b Read configuration for clickhouse-local from ~/.clickhouse-local
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-25 17:09:35 +02:00
Antonio Andelic
670413a69d
Merge pull request #67016 from ClickHouse/static-order-mess
Try to fix exception logging in destructors of static objects
2024-07-25 13:46:22 +00:00
Antonio Andelic
2988e13050 Free bitmask 2024-07-25 13:55:01 +02:00
Antonio Andelic
6557387148 Try calcualting memory with numactl if membind used 2024-07-25 11:49:02 +02:00
Antonio Andelic
67567fcff4 Fix build 2024-07-24 19:51:22 +02:00
Raúl Marín
ff44b20661
Revert "FuzzQuery table function" 2024-07-24 14:51:48 +02:00
Alexey Milovidov
3631bf4872 Fix tidy 2024-07-24 14:45:58 +02:00
Alexey Milovidov
089b6fd579 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-24 10:18:20 +02:00
Antonio Andelic
d78cfd030f Use cgroups as source 2024-07-23 10:33:12 +02:00
Alexey Milovidov
0d2459f0de JavaScript 2024-07-22 16:18:48 +02:00
Alexey Milovidov
af53fd96a7 JavaScript Programming 2024-07-22 16:18:48 +02:00
Alexey Milovidov
02704bc5cc Different 2024-07-22 16:18:48 +02:00
Alexey Milovidov
eb4cddd139 Allow run=1 to save space 2024-07-22 16:18:48 +02:00
Alexey Milovidov
11aee643ad Convert to bool 2024-07-22 16:18:48 +02:00
Alexey Milovidov
85afb1757e Rename variables 2024-07-22 16:18:48 +02:00
Aleksandr Musorin
85241b3b8e Allow run query instantly in play
Automatically execute the query after the page loads if the
`play_now=true` parameter is present. By default, the query does not
execute automatically.

Reason:

While it might be acceptable to click `Run` once or twice, it becomes
tedious when using the play service frequently as a simple frontend to
generate and open multiple links. This change eliminates the need to
click `Run` every time.
2024-07-22 16:18:48 +02:00
Antonio Andelic
1c3f7d0fd0 Small fix 2024-07-22 15:18:13 +02:00
Antonio Andelic
1d1dc9c7ad
Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-21 10:37:01 +01:00
Yakov Olkhovskiy
dac5996dda Merge branch 'master' into ft-chunked-protocol 2024-07-20 23:01:56 +00:00
Kruglov Pavel
74670e7d20
Merge branch 'master' into json-data-type 2024-07-20 20:52:51 +02:00
Alexey Katsman
32d3ebf799
Merge pull request #66526 from alexkats/gwp
Don't start GWP allocations until init is finished
2024-07-20 16:53:53 +00:00
Alex Katsman
eb51dc8980 Don't start GWP allocations until init is finished 2024-07-19 13:34:50 +00:00
Han Fei
424b96011c Merge branch 'master' into hanfei/keeperrocks 2024-07-19 11:25:01 +00:00
Raúl Marín
cb66bfa5e9 Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-19 11:41:14 +02:00
Raúl Marín
68cd15a18c Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-18 14:25:10 +02:00
Nikita Mikhaylov
03e6085ef4
Merge pull request #66694 from ClickHouse/fix-something
Fix something around clang-tidy
2024-07-18 09:46:38 +00:00
Antonio Andelic
9a43183eb3 Finish background memory thread 2024-07-18 10:40:47 +02:00
Antonio Andelic
c413e7a494 Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-18 09:01:54 +02:00
Antonio Andelic
21009577d8 Dedicated memory background thread 2024-07-18 09:01:20 +02:00
Alexey Milovidov
4217d029c0 Fix something 2024-07-18 03:33:36 +02:00
Alexey Milovidov
f7ca8513d0
Merge branch 'master' into uninteresting-changes 2024-07-17 18:30:19 +02:00
Antonio Andelic
97f4ec2adb Read cgroup memory usage in async metrics thread 2024-07-17 16:59:35 +02:00
Han Fei
aebadce491 Merge branch 'master' into hanfei/keeperrocks 2024-07-17 13:52:15 +00:00
Alexey Milovidov
e672353913 Merge branch 'master' into format-settings-parsing 2024-07-17 07:01:04 +02:00
Yakov Olkhovskiy
452d463d77
Merge pull request #65238 from peacewalker122/master
feat: support accept_invalid_certificate in client's config
2024-07-17 03:54:39 +00:00
Alexey Milovidov
f5db89faa2 Merge branch 'update-tidy-for-clang-19' into format-settings-parsing 2024-07-17 05:53:36 +02:00
Alexey Milovidov
d62d1fd73f Merge branch 'update-tidy-for-clang-19' into uninteresting-changes 2024-07-17 05:51:46 +02:00
Yakov Olkhovskiy
f07a395bf1 Merge branch 'master' into ci-fuzzer-enable 2024-07-17 03:43:57 +00:00
Alexey Milovidov
86db32054e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-17 01:04:39 +02:00
avogar
0ef65fbd13 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-07-16 10:09:27 +00:00
Yakov Olkhovskiy
b69978b5df Merge remote-tracking branch 'upstream/master' 2024-07-16 05:54:33 +00:00
Yakov Olkhovskiy
7de367d692 Merge branch 'master' into ci-fuzzer-enable 2024-07-15 20:58:42 +00:00
Alexander Tokmakov
09dc79ad3a Merge branch 'master' into reject_poco 2024-07-15 20:17:28 +02:00
Yarik Briukhovetskyi
4a7c52900a
Merge branch 'master' into hive_style_partitioning 2024-07-15 19:05:21 +02:00
Alexey Milovidov
6eb2b18c69 Merge branch 'master' into uninteresting-changes 2024-07-15 18:36:27 +02:00
Nikita Taranov
7fe35a83b6 impl 2024-07-15 14:26:30 +01:00
Raúl Marín
b2466466d4 Rename Context::getSettings() 2024-07-15 14:28:12 +02:00
Raúl Marín
e4f348acc7
Merge pull request #66404 from Algunenano/mergetree_private
Untangle setting headers
2024-07-15 08:49:05 +00:00
Yakov Olkhovskiy
e55fcb3265 add docs to client xml config 2024-07-15 01:48:55 +00:00
Yakov Olkhovskiy
12ca7c3641 Merge remote-tracking branch 'upstream/master' 2024-07-15 01:34:53 +00:00
Alexey Milovidov
904874fe14 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-14 21:33:02 +02:00
Alexey Milovidov
39e3356bc0 Merge branch 'master' into uninteresting-changes 2024-07-14 21:32:01 +02:00
Yakov Olkhovskiy
698b5ce7fa Merge branch 'master' into ci-fuzzer-enable 2024-07-14 05:31:56 +00:00
Yakov Olkhovskiy
0fc14520c8 add server termination on exit 2024-07-13 23:06:37 +00:00
Alexey Milovidov
c322c6b423
Merge pull request #66398 from azat/play-elapsed
Add query elapsed time for non-default format in play UI
2024-07-13 21:30:56 +00:00
Alexey Milovidov
7f8eba785d Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-13 22:45:40 +02:00
Alexey Milovidov
96d3c31190
Update play.html 2024-07-13 18:51:00 +02:00
Alexey Milovidov
9745a5dd74 Merge branch 'master' into format-settings-parsing 2024-07-12 23:19:54 +02:00
avogar
11d56a08cd Fix clickhouse-format 2024-07-12 20:16:47 +00:00
Yakov Olkhovskiy
1836a69b33 Merge branch 'master' into ft-chunked-protocol 2024-07-12 15:43:25 +00:00
Alexander Tokmakov
243edcc8aa add logs and metrics about rejected connections in Poco 2024-07-12 01:11:18 +02:00
Raúl Marín
e559899193 Random missing headers 2024-07-12 00:00:47 +02:00
Raúl Marín
1b75b8f4eb Merge remote-tracking branch 'blessed/master' into mergetree_private 2024-07-11 19:58:54 +02:00
Azat Khuzhin
cdb3b3f2aa Add query elapsed time for non-default format in play UI
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-11 16:43:20 +02:00
Raúl Marín
9e599576ab Hide Settings object from Context.h 2024-07-11 14:00:05 +02:00
Alexey Milovidov
344630e5c4 Merge branch 'master' into uninteresting-changes 2024-07-11 04:58:38 +02:00
Alexey Milovidov
8fe50f5a8f Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-11 04:56:10 +02:00
Yarik Briukhovetskyi
052520fa03
Merge branch 'master' into hive_style_partitioning 2024-07-10 19:46:07 +02:00
yariks5s
a751719a33 fixes due to review 2024-07-10 17:44:06 +00:00
Raúl Marín
314174013b Reduce dependencies on ServerSettings.h 2024-07-10 18:10:19 +02:00
Han Fei
664d45c247 Merge branch 'master' into hanfei/keeperrocks 2024-07-10 13:03:00 +00:00
Yakov Olkhovskiy
2794b7bf84 defaults to notchunked, add docs to server's and client's configs 2024-07-10 00:20:11 +00:00
Han Fei
027c855fcb Merge branch 'master' into hanfei/keeperrocks 2024-07-09 23:13:48 +00:00
Yakov Olkhovskiy
9db80a6e2d more testing with chunked 2024-07-09 17:47:05 +00:00
Raúl Marín
a339dd020f Reduce dependencies on MergeTreeSettings.h 2024-07-09 19:39:41 +02:00
Konstantin Bogdanov
053228eea1
Empty user when JWT is set 2024-07-08 17:29:32 +02:00
Yarik Briukhovetskyi
4cee6fb039
Merge branch 'master' into hive_style_partitioning 2024-07-08 16:11:27 +02:00
Daniil Ivanik
d00b12d0a9
Merge pull request #64446 from divanik/divanik/fix_clickhouse_disks_2
Interactive client for clickhouse-disks
2024-07-08 09:00:15 +00:00
Antonio Andelic
1a192a8369
Merge pull request #65563 from azat/keeper-configs-fixes
Fix clickhouse-keeper with not system-wide directories and provide override for local development
2024-07-08 07:34:08 +00:00
Yarik Briukhovetskyi
e646713122
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-07-07 21:55:39 +02:00
Alexey Milovidov
ac2d5261d7 Merge branch 'master' into uninteresting-changes 2024-07-07 12:51:56 +02:00
Alexey Milovidov
310ee5061c Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections-in-clickhouse-local 2024-07-07 12:49:15 +02:00
Alexey Milovidov
17c6b97cbc Fix error 2024-07-06 03:16:13 +02:00
Yakov Olkhovskiy
a9aaa2ab78 Merge remote-tracking branch 'origin/master' into ci-fuzzer-enable 2024-07-06 00:48:09 +00:00
Alexey Milovidov
d02863ebb3 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-06 02:20:21 +02:00
Alexey Milovidov
c7c77a3322 Merge branch 'named-collections-in-clickhouse-local' of github.com:ClickHouse/ClickHouse into named-collections-in-clickhouse-local 2024-07-06 02:04:57 +02:00
Alexey Milovidov
d183e3adc9 Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-06 01:32:43 +02:00
Alexey Milovidov
278f2bb14f Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-07-05 22:57:11 +02:00