Commit Graph

479 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Raúl Marín
68cd15a18c Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-18 14:25:10 +02:00
Alexey Milovidov
6eb2b18c69 Merge branch 'master' into uninteresting-changes 2024-07-15 18:36:27 +02: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
Alexey Milovidov
39e3356bc0 Merge branch 'master' into uninteresting-changes 2024-07-14 21:32:01 +02:00
Raúl Marín
314174013b Reduce dependencies on ServerSettings.h 2024-07-10 18:10:19 +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
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
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
Yarik Briukhovetskyi
f623ee99f8
Update message for clickhouse local 2024-04-25 18:57:42 +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
Nikolay Degterinsky
bf3d33b61c Fix data race 2024-04-24 21:08:49 +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
Konstantin Bogdanov
414b028931
Support synchronous completions in local server too 2024-04-10 13:08:38 +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
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