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
Yarik Briukhovetskyi
eee6fa4242
cosmetic fixes, comments for tests, user hints fixes
2024-04-26 13:19:22 +02:00
Yarik Briukhovetskyi
64cb638717
add tests and changed implementation
2024-04-25 19:46:20 +02:00
Yarik Briukhovetskyi
a36d86f63a
add --verbose for help and suggest to use system.settings
2024-04-25 17:01:34 +02: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
fd0f6418e2
Merge branch 'master' into faster_01676_clickhouse_client_autocomplete
2024-04-10 16:15:21 +02:00
Konstantin Bogdanov
c8598bdb54
Add a flag to load suggestion data synchronously
2024-04-10 13:08:38 +02:00
Azat Khuzhin
be2767b55c
Make ClientBase::parseQuery() static
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 10:54:57 +01:00
Kruglov Pavel
de1229ba60
Merge branch 'master' into better-stress-upgrade-checks
2024-03-25 19:18:35 +01:00
Alexey Milovidov
c0c8cdc185
Add modifications
2024-03-23 02:42:22 +01:00
Alexey Milovidov
6f4ce33f02
Change how fuzzer arguments are parsed
2024-03-20 22:12:57 +01:00
avogar
dba72bf9c5
Fix
2024-03-19 10:02:35 +00:00
avogar
31d5049f80
Move logic of ignoring drop queries to server
2024-03-18 16:26:05 +00:00
avogar
aadc610739
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks
2024-03-18 15:27:58 +00: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
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
avogar
fa9d9ea3f7
Ignore DROP queries in stress test with 1/2 probability, use TRUNCATE instead of ignoring DROP in upgrade check for Memory/JOIN tables
2024-03-15 20:23:39 +00:00
Azat Khuzhin
699d11628a
Fix adjusting log_comment in case of multiple files passed
...
Previously, due to adjusting global_context and checking it as well, in
case of multiple files the log_comment will be adjusted only the first
time. Fix this by caching does user passed the log_comment explicitly or
not.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-04 10:02:24 +01:00
Alexey Milovidov
b62e9d3a1a
Address review comments
2023-11-23 18:13:12 +01:00
Nikolay Degterinsky
cf46214440
Always send fatal level logs
2023-11-19 15:09:52 +00:00
Alexey Milovidov
7ec4b99e94
Revert partial result
2023-10-21 03:14:22 +02:00
Azat Khuzhin
4cb3de3110
Add pager property into ClientBase
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-16 22:31:55 +02:00
Azat Khuzhin
3257d5643d
Move adjusting input_format_values_allow_data_after_semicolon into the client base
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-16 22:31:55 +02:00
Azat Khuzhin
fc354d7fbf
Reset signals that is catched by clickhouse-client if pager is in use
...
We need to reset signals that had been installed in the
setupSignalHandler() (SIGINT/SIGQUIT), like other such tools dies (i.e.
less and open file in editor) since terminal will send signals to both
processes and so signals will be delivered to the
clickhouse-client/local as well, which will be terminated when signal
will be delivered second time.
So a simple `clickhouse-client --pager less` will be terminated on a
second C-C press. And it is really annoying when you are using this way
to analyze logs.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-16 22:03:36 +02:00
Nikolai Kochetov
59108f3d96
Merge pull request #54476 from ClickHouse/revert-54470-revert-48607-master
...
Revert "Revert "Add settings for real-time updates during query execution""
2023-09-11 14:59:13 +02:00
robot-ch-test-poll
6f3374d684
Merge pull request #54481 from ucasfl/hints
...
Refactor IHints
2023-09-10 15:46:36 +02:00
flynn
6ec783a746
Refactor IHints
2023-09-10 03:48:12 +00:00
Nikolai Kochetov
9b936c44db
Revert "Revert "Add settings for real-time updates during query execution""
2023-09-09 12:29:39 +02:00
Alexey Milovidov
03a755732a
Revert "Add settings for real-time updates during query execution"
2023-09-09 03:10:23 +03:00
Nikolai Kochetov
0095124791
Merge pull request #48607 from alexX512/master
...
Add settings for real-time updates during query execution
2023-09-08 09:05:33 +02:00
Robert Schulze
44994fe51b
Incorporate review feedback
2023-09-04 11:44:37 +00:00
Ziy1-Tan
5db1961129
Allow specifying --query
multiple times in the command line
2023-09-04 11:44:22 +00:00
alexX512
b3ba00f443
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-29 10:59:29 +00:00
alexX512
47a908dfa8
Add support for nested supqueries for AggregationPartialResult transform and more comments
2023-08-29 10:45:34 +00:00
Alexey Gerasimchuck
3140958132
Added client_info validation
2023-08-22 03:52:57 +00:00
alexX512
c403f56e09
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-07-21 17:56:53 +00:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz
2023-06-08 18:34:45 +03:00
Andrey Zvonov
87fc780c14
Merge branch 'master' into zvonand-implicit-tz
2023-05-30 13:13:46 +03:00
Nikita Mikhaylov
cf6ff7ab32
Merge branch 'master' of github.com:ClickHouse/ClickHouse into 46229-repl-clickhouse-keeper
2023-05-25 13:41:25 +00:00
Alexey Gerasimchuck
4a6c7254e8
--multiquery <sql> -> -n -q <sql> syntax sugar
2023-05-17 03:43:35 +00:00
alexX512
e94285d468
Send partial result with the new architectuin the special pipeline
2023-05-01 09:25:15 +00:00
zvonand
2a9f28b73b
resolve
2023-04-12 12:54:39 +02:00
alexX512
a953a1f8c3
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-04-10 13:57:01 +00:00
alexX512
af66d44106
Add settings for real-time updates during query execution
2023-04-10 13:51:39 +00:00
pufit
c93202cca4
Keeper Client MVP
2023-03-31 12:41:22 +00:00
Nikolai Kochetov
f870e6f7a9
Rename setting stop_reading_on_first_cancel to partial_result_on_first_cancel.
2023-03-30 14:00:44 +00:00
zvonand
bbb31cf891
added validation on setting modification
2023-03-15 18:37:23 +01:00
alexX512
8590e4b459
Add tests fr stop_reading_on_first_cancel setting
2023-03-15 10:50:01 +00:00