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
Kirill Nikiforov
114d214ba4
fix tests and seg fault
2024-08-01 21:56:56 +03: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
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
vdimir
7eddb93935
Merge branch 'master' into pr/allmazz/63279
2024-07-30 10:54:45 +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
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
Kirill Nikiforov
c23e3d8663
Merge branch 'master' into mongodb_refactoring
2024-07-27 15:33:46 +03: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
Julia Kartseva
54428becb3
add keystroke interceptor
2024-07-24 04:11:35 +00:00
Julia Kartseva
1ea72d3453
Merge remote-tracking branch 'upstream/master' into interactive-metrics-table
2024-07-20 01:35:30 +00:00
Raúl Marín
68cd15a18c
Merge remote-tracking branch 'blessed/master' into getSettingsCopy
2024-07-18 14:25:10 +02: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
Julia Kartseva
8b567d63b0
Merge remote-tracking branch 'upstream/master' into interactive-metrics-table
2024-07-16 01:08:37 +00: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
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
Raúl Marín
314174013b
Reduce dependencies on ServerSettings.h
2024-07-10 18:10:19 +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
Kirill Nikiforov
edb3d0ab42
fix ssl, fix after master merge
2024-06-24 00:45:15 +03: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
Mariia Khristenko
c87d3502aa
Implement ProgressTable
2024-05-13 15:21:17 +03: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
Alexey Milovidov
c0c8cdc185
Add modifications
2024-03-23 02:42:22 +01:00
Alexey Milovidov
18c016caaa
Support for --output-format in client
2024-03-22 21:06:36 +01:00
Alexey Milovidov
6f4ce33f02
Change how fuzzer arguments are parsed
2024-03-20 22:12:57 +01:00
Alexey Milovidov
2eb7de859d
Correct arguments parsing
2024-03-18 02:35:32 +01:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
bfea36877b
Merge pull request #61499 from ClickHouse/fix-fuzzers
...
Fix fuzzers
2024-03-17 21:15:10 +03:00
Alexey Milovidov
44e918bc67
Revive getFuzzerData
2024-03-17 16:22:33 +01:00
Alexey Milovidov
427a8b3264
Less crap
2024-03-17 13:20:49 +01:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list
2024-03-14 10:44:20 +00:00
Robert Schulze
802bae9661
GCC --> clang pragmas
2024-03-11 12:55:56 +00:00
HowePa
6c69e7d4dc
detect output format by file extension in clickhouse-local
2024-03-07 20:29:04 +08:00
豪肥肥
cca154b6b9
fix option ambiguous
2024-02-28 12:16:34 +08:00
János Benjamin Antal
7cad0050c0
Disambiguate alter commands list ( #59532 )
...
* Add optional parentheses to TTL element and alter command
* Add some basic tests
* Extend tests with more test cases
* Add one more test case
* Add server setting to control new formatting behavior
* Automatic style fix
* Fix segfault in `clickhouse-format` related to new server setting
* Remove format_ttl_expressions_with_parentheses
* Fix unit test compilation failures
* Introduce global flag to control the new formatting behavior
* Revert "Fix segfault in `clickhouse-format` related to new server setting"
This reverts commit d7131a3145
.
* Revert accidental changes
* Revert accidental include reorder
* Revert accidental changes
* Enable new format in client and local server
---------
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-02-22 19:17:15 +01:00
Kruglov Pavel
4d6f167e0c
Merge pull request #59092 from Avogar/auto-format-detection
...
Try to detect file format automatically during schema inference if it's unknown
2024-02-16 14:32:18 +01:00
Alexey Milovidov
2b4949bd18
Cleanups
2024-02-14 00:21:13 +01:00
Kruglov Pavel
1dbfeafb42
Merge branch 'master' into auto-format-detection
2024-02-13 19:08:33 +01:00
Azat Khuzhin
7fb31fe160
Remove ability to disable generic clickhouse components
...
Components like client/server/... are very generic, and there is no
point in disabling them, since it does not reduce amount of compiled
code a lot anyway (just a few modules for entrypoints, everything else
is already included in the clickhouse binary), and eventually they are
just symlinks to the clickhouse binary.
But there are few, that requires extra libraries, like ODBC bridge or
keeper components (and there is also standalone keeper binary compiled
with musl), those had been kept.
Also add some descriptions for some utils and change exit code to 0 for
--help.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-12 11:10:00 +01:00
Kruglov Pavel
46a6b84a5a
Merge branch 'master' into auto-format-detection
2024-01-25 22:11:07 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
avogar
48609d3c9f
Fix tests
2024-01-23 18:59:40 +00:00
avogar
617cc514b7
Try to detect file format automatically during schema inference if it's unknown
2024-01-23 18:59:39 +00:00
Kruglov Pavel
79b3e19eb1
Fix style
2024-01-17 14:54:18 +01:00
Kruglov Pavel
63ac1c784f
Fix possible crash in clickhouse-local during loading suggestions
2024-01-17 14:28:10 +01:00
Bharat Nallan
ee37f551a2
independent registration of interpreters ( #58443 )
...
* make interpreter factory an instance
* add registerInterpreter
* register interpreters individually
* try wire everything up
* fix style
* fix test
2024-01-08 22:33:48 -08:00
Kruglov Pavel
474d7abfda
Merge pull request #57774 from Avogar/local-default-database-name
...
Change default database name in clickhouse-local to 'default'
2024-01-02 15:29:45 +01:00
Alexey Milovidov
b752a1c62e
Merge pull request #58365 from bharatnc/ncb/refactor-db-factory
...
independent registration of database engines
2023-12-31 00:56:24 +01:00
Bharat Nallan Chakravarthy
6c4a4991e2
few more fixes
2023-12-30 09:26:53 -08:00
Bharat Nallan Chakravarthy
906745feaa
validation and left over fixes
2023-12-29 20:06:07 -08:00