Commit Graph

5244 Commits

Author SHA1 Message Date
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
Alexey Milovidov
6016dc96aa Fix test 01172_transaction_counters 2024-08-12 07:19:54 +02:00
Alexey Milovidov
69978dbc6d Merge branch 'master' into format-settings-parsing 2024-08-12 07:11:26 +02:00
Azat Khuzhin
29afd2de78 Remove "Processing configuration file" message from clickhouse-local
Make the behaviour identical to the clickhouse-client

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-11 13:26:45 +02:00
Alexey Milovidov
8e13b73ad3 Add support for cache disks in clickhouse-local 2024-08-11 09:30:30 +02:00
Alexey Milovidov
1fd9b60353 More direct interface of Disk and ObjectStorage 2024-08-11 00:13:40 +02:00
Yakov Olkhovskiy
9a45c136b8 merge master 2024-08-10 13:53:32 +00:00
Yakov Olkhovskiy
c1b5b908ba hide Field::get in private, only use Field::safeGet 2024-08-10 13:01:55 +00:00
Igor Nikonov
f2b60c4f74 Merge remote-tracking branch 'origin/master' into asan-invalid-shared-context-access 2024-08-10 10:08:40 +00:00
Alexey Milovidov
a25accdae3 Fix a test 2024-08-09 20:20:09 +02:00
Alexey Milovidov
d8670ecd91 Merge branch 'master' into format-settings-parsing 2024-08-09 20:12:33 +02:00
Kirill Nikiforov
4354b4193d
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-08-09 20:42:32 +03:00
Nikita Taranov
43a38fb5f0 rm redundant file 2024-08-09 15:11:08 +01:00
Antonio Andelic
0d38aa98ce Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-08-09 15:44:47 +02:00
Nikita Taranov
b757522fc4 fix build 2024-08-09 14:20:57 +01:00
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Yarik Briukhovetskyi
aebb07884b
Merge branch 'master' into hive_style_partitioning 2024-08-09 11:53:14 +02:00
Robert Schulze
f14112fb8a
Merge pull request #67963 from rschu1ze/fix-concurrent_threads_soft_limit_ratio
Fix CPU count detection for `concurrent_threads_soft_limit_ratio` in in containers
2024-08-09 07:58:29 +00:00
pufit
99fbef3340
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-08 20:12:23 -04:00
Kirill Nikiforov
ea58b8062e
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-08-08 22:44:32 +03:00
Yarik Briukhovetskyi
edccd30016
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 14:52:33 +02:00
Nikita Mikhaylov
4c289aa2dc
Merge pull request #64183 from vitlibar/ts-engine
Add new TimeSeries table engine to handle Prometheus protocols
2024-08-08 12:03:12 +00:00
Yarik Briukhovetskyi
6384488826
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 11:45:01 +02:00
Robert Schulze
f2c8d9678c
Merge remote-tracking branch 'ClickHouse/master' into fix-concurrent_threads_soft_limit_ratio 2024-08-08 09:09:44 +00:00
Alexey Milovidov
351ba3ef10
Revert "Revert "Use Atomic database by default in clickhouse-local"" 2024-08-08 10:07:39 +02:00
Alexey Milovidov
6a2ebfc95b
Revert "Use Atomic database by default in clickhouse-local" 2024-08-08 10:07:14 +02:00
pufit
6c0cc194d3
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-07 23:26:05 -04:00
Alexey Milovidov
4fac40a3cb Step back 2024-08-08 04:41:22 +02:00
Alexey Milovidov
e37772e3c4 Merge branch 'master' into format-settings-parsing 2024-08-08 02:28:56 +02:00
Yarik Briukhovetskyi
9e3a2931d2
Merge branch 'master' into hive_style_partitioning 2024-08-07 23:59:34 +02:00
Nikita Mikhaylov
f37e0c7fc6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-07 21:01:13 +00:00
Alexander Tokmakov
a523125411
Merge pull request #66410 from ClickHouse/reject_poco
Add logs and metrics about rejected connections in Poco
2024-08-07 16:40:59 +00:00
Yakov Olkhovskiy
b246f7c17c merge master 2024-08-07 16:25:31 +00:00
khodyrevyurii
00b62b1c0d
Minor clarifycation for method getNumberOfPhysicalCPUCores 2024-08-07 08:47:55 +00:00
khodyrevyurii
c933a38955
change std:🧵:hardware_concurrency on container friendly method getNumberOfPhysicalCPUCores 2024-08-07 08:47:53 +00:00
Nikita Taranov
053285dc1c Merge branch 'master' into keep_alive_max_reqs 2024-08-06 20:55:48 +01:00
Alexander Tokmakov
77103aa729 Merge branch 'master' into reject_poco 2024-08-06 19:52:05 +02:00
MikhailBurdukov
304d01e2c3 Review fix 2024-08-06 15:21:49 +00:00
MikhailBurdukov
3ebc3852f4 Allow filtering ip addresses by ip family in DNS resolver 2024-08-06 15:21:49 +00:00
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
Pablo Marcos
27cada2017 Merge branch 'master' into system-query-metric-log 2024-08-02 13:23:31 +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
serxa
184c156e09 Merge branch 'master' into fix-use-concurrency-control 2024-07-31 17:21:55 +00: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
serxa
384e2ff399 Merge branch 'master' into fix-use-concurrency-control 2024-07-31 07:25:16 +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
Julia Kartseva
54428becb3 add keystroke interceptor 2024-07-24 04:11:35 +00: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
Pablo Marcos
ba8f82e6cf Merge branch 'master' into system-query-metric-log 2024-07-21 15:25:58 +00: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
Julia Kartseva
1ea72d3453 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-20 01:35:30 +00:00
Pablo Marcos
a561899da0 Rename system.query_log_metric to system.query_metric_log
Seems I had at the very beginning a brainfart and started using
query_log_metric instead of query_metric_log and it went on and on
:facepalm
2024-07-19 14:13:15 +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
Pablo Marcos
fd24e5b6f4 Merge branch 'master' into system-query-metric-log 2024-07-19 08:45:21 +00: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
Pablo Marcos
f6b98de6c7 Merge branch 'master' into system-query-metric-log 2024-07-18 08:19:52 +00: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
Julia Kartseva
132ba9c749 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-17 00:44:54 +00:00
Alexey Milovidov
86db32054e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-17 01:04:39 +02:00
Pablo Marcos
ca77e7252f Add query_log_metric to config samples 2024-07-16 12:40:05 +00: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
Julia Kartseva
8b567d63b0 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-16 01:08:37 +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
Pablo Marcos
10945fe108 Add documentation for system.query_log_metric 2024-07-15 14:23:20 +00: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
Pablo Marcos
9b36d0b61c Add system.query_log_metric table 2024-07-15 09:45:41 +00: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
serxa
bf125d5da6 Merge branch 'master' into fix-use-concurrency-control 2024-07-12 08:44:12 +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