Commit Graph

472 Commits

Author SHA1 Message Date
Alexey Milovidov
b98249ea7f Use temporary tables for input and output in clickhouse-local 2024-08-17 00:06:47 +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
6a2ebfc95b
Revert "Use Atomic database by default in clickhouse-local" 2024-08-08 10:07:14 +02:00
Alexey Milovidov
6a3d4152d7 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-06 03:29:50 +02: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
Alexey Milovidov
a2b1131cc8 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-03 20:19:49 +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
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
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
Vitaly Baranov
554cf91f4b Add missing call applyCmdOptions(). 2024-07-27 14:43:26 +02:00
Vitaly Baranov
0cf0437196 Use separate client context in clickhouse-local 2024-07-26 13:26:15 +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
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
Raúl Marín
68cd15a18c Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-18 14:25:10 +02:00
Raúl Marín
b2466466d4 Rename Context::getSettings() 2024-07-15 14:28:12 +02: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
Alexey Milovidov
17c6b97cbc Fix error 2024-07-06 03:16:13 +02:00
Alexey Milovidov
bf312f200c DatabaseOverlay: add support for rename 2024-07-04 05:24:42 +02: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
Alexey Milovidov
488767e601 Uninteresting changes 2024-07-01 02:38:42 +02:00
Alexey Milovidov
41c493ad0c Merge branch 'master' into atomic-database-in-clickhouse-local 2024-06-30 20:59:08 +02:00
Alexey Milovidov
02928bb207 Use Atomic database by default in clickhouse-local 2024-06-30 05:09:53 +02:00
Alexey Milovidov
9113981d0c Merge branch 'master' into dont-load-outdated-parts-on-readonly 2024-06-29 04:38:44 +02:00
Alexey Milovidov
c6e9894473 Merge branch 'master' into local-memory-limit 2024-06-29 04:19:12 +02:00
Alexey Milovidov
628359ddc9 Add memory limit for clickhouse-local by default 2024-06-26 02:29:04 +02:00
Nikita Mikhaylov
782669a9fd Refactor 2024-06-25 14:23:37 +00:00
Alexey Milovidov
eda9b9d874 Do not load inactive parts on readonly disks 2024-06-25 01:37:46 +02:00
Konstantin Bogdanov
3b7d69a2fe
Remove hostname from clickhouse-local prompt 2024-06-21 00:46:33 +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
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
Han Fei
116055b532 refine load part logic 2024-05-08 15:04:16 +02:00
Alexey Milovidov
b5f454fb46 Less directories 2024-05-03 03:30:28 +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
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
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