Commit Graph

4999 Commits

Author SHA1 Message Date
Yarik Briukhovetskyi
fac73a0944
Merge branch 'master' into hive_style_partitioning 2024-07-31 18:25:08 +02: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
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
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
pufit
4195ce2183
Merge branch 'master' into pufit/startup-scripts 2024-07-05 13:52:58 -04:00
Anton Popov
907a365926
Merge pull request #66098 from CurtizJ/better-sanitizer-message
More precise warning message about sanitizers
2024-07-05 14:15:28 +00:00
Alexey Milovidov
dbcc2c6979 Merge branch 'master' into format-settings-parsing 2024-07-05 15:53:23 +02:00
Yarik Briukhovetskyi
8bd3a3c59d
Merge branch 'master' into hive_style_partitioning 2024-07-05 14:56:11 +02:00
yariks5s
942f7d7532 fixes after review 2024-07-05 12:44:31 +00:00
pufit
0a5ee12f0b
Merge pull request #62103 from ClickHouse/pufit/fuzz-query
FuzzQuery table function
2024-07-04 20:46:47 +00:00
Antonio Andelic
ec6739120c
Merge pull request #66041 from ClickHouse/try-disabling-jemalloc-background-threads
Try disabling jemalloc background threads
2024-07-04 20:30:39 +00:00
Anton Popov
93afc8e613 more precise warning message about sanitizers 2024-07-04 15:11:29 +00:00
divanik
4815f0d6ff Resolve conflicts 2024-07-04 14:09:43 +00:00
divanik
eff9fd519d Merge sth 2024-07-04 13:52:05 +00:00
divanik
b4be9d5c6f Fix address 2024-07-04 13:40:36 +00:00
Antonio Andelic
975e8ee14a
Merge pull request #65910 from ClickHouse/keeper-remove-standalone-build
Remove standalone Keeper build
2024-07-04 12:14:42 +00:00
Antonio Andelic
613ed1ebbf Merge branch 'master' into try-disabling-jemalloc-background-threads 2024-07-04 13:58:26 +02:00
Antonio Andelic
c93d8cbb66 Fixes 2024-07-04 13:57:47 +02:00
Han Fei
36e51f3ce0 Merge branch 'master' into hanfei/keeperrocks 2024-07-04 11:46:26 +00:00
Kseniia Sumarokova
15ad290ae4
Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-04 12:19:58 +02:00
Alexey Milovidov
bf312f200c DatabaseOverlay: add support for rename 2024-07-04 05:24:42 +02:00
Alexey Milovidov
943fc28e1e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-04 02:50:05 +02:00
Alexey Milovidov
2b3f1ef3aa
Merge pull request #65556 from azat/dashboard-user-from-url
Parse user from URL for dashboard.html (useful for sharing)
2024-07-04 00:45:07 +00:00
Antonio Andelic
86056a8fdc
Merge pull request #66028 from ClickHouse/remove-scary-jemalloc-log
Remove scary jemalloc log
2024-07-03 16:59:04 +00:00
Antonio Andelic
5875694669 Fix includes 2024-07-03 18:48:32 +02:00
Antonio Andelic
07f51e02ed Reuse some checks 2024-07-03 16:54:09 +02:00
Antonio Andelic
cddd2312fb Merge branch 'master' into keeper-remove-standalone-build 2024-07-03 16:23:31 +02:00
Kseniia Sumarokova
dd9bf6d792
Merge pull request #65738 from RodolpheDuge/fix_odbc_nullable_fields
fix ODBC table with nullable fields
2024-07-03 09:43:47 +00:00
Antonio Andelic
c86cdbb243 Remove scary jemalloc log 2024-07-03 11:05:34 +02:00
pufit
497ab310be Merge branch 'master' into pufit/fuzz-query
# Conflicts:
#	src/Storages/registerStorages.cpp
2024-07-03 00:02:54 -04:00
Kseniia Sumarokova
e45a905904
Update LocalServer.cpp 2024-07-02 11:52:51 +02:00
Alexey Milovidov
4f61f530bd Named collections in clickhouse-local 2024-07-02 11:22:05 +02:00
Azat Khuzhin
2991e27183 Parse user from URL for dashboard.html (useful for sharing)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-02 07:38:39 +02:00
divanik
242b553253 Change unique_ptr creation to shared_ptr 2024-07-01 17:35:07 +00:00