Krishna Mannem
dfd4b4df29
feedback
2025-10-01 16:03:08 -04:00
Krishna Mannem
b22cd99683
catch errors when query arg fails being parsed as a POCO::URI
2025-10-01 16:03:08 -04:00
Krishna Mannem
a388b1cac6
add --login flag to authenticate to clickhouse via idp
2025-10-01 16:03:08 -04:00
Azat Khuzhin
b9f0c6c9a9
Add --connection support for clickhouse-benchmarks
...
Support --connection in clickhouse-benchmarks. It is the same as
supported by clickhouse-client, you can specify predefined connections
in client config.xml/config.yaml under connections_credentials path, to
avoid explicitly specifying user/password via command line arguments.
2025-09-22 12:15:41 +02:00
Raúl Marín
5987eadc98
Merge remote-tracking branch 'blessed/master' into reduce_port_header_memcpy_cont
2025-07-14 15:17:12 +02:00
Raúl Marín
6accf5522e
Remove Block operator bool
2025-07-14 15:06:38 +02:00
ddavid
6030a3a38c
Support CLICKHOUSE_HOST environment variable
2025-07-12 22:24:39 +03:00
Alexander Tokmakov and GitHub
08ea35aca4
Revert "Compress logs and profile events in the native protocol"
2025-07-08 20:47:54 +02:00
Alexey Milovidov and GitHub
c90c1d1a90
Merge branch 'master' into compression-logs-profile-events
2025-07-01 02:39:02 +03:00
Azat Khuzhin
74093a763c
Properly initialize QueryScope/ThreadStatus in the client apps
...
This time I was fixing it for session_timezone, but there are other
reasons to have it properly configured.
2025-06-30 11:27:13 +02:00
Azat Khuzhin
9c0963c0a8
Do not use global context as main context for the client
...
The problem is that clietn calls setSettings() in the global settings,
but this produce a data-race with accessing global settings all over the
places [1]:
- ThreadStatus::finalizePerformanceCounters()
- ThreadStatus::initGlobalProfiler()
[1]: https://github.com/ClickHouse/ClickHouse/issues/81893#issuecomment-2997271137
v2: Initialize query_id in a proper context
v3: Fix apply settings from config on the client
v4 + v5: Fix other settings adjustments
2025-06-30 11:27:13 +02:00
Alexey Milovidov
bfc7cf3b8e
Fix error
2025-06-25 01:50:56 +02:00
Raúl Marín
d6ac63c8d2
Style: Forbid the use of quotes for includes (partial)
2025-06-24 13:20:10 +02:00
Azat Khuzhin
c36b0241f9
Get back MainThreadStatus into client for memory tracking
2025-06-14 09:33:09 +02:00
Azat Khuzhin
aca7fb829c
Remove ThreadStatus from the client
...
It seems that it was required only for DateLUT, to obtain global context
via ThreadStatus, but we can do better, simply use
Context::getGlobalContextInstance() instead.
2025-06-13 14:50:42 +02:00
Miсhael Stetsyuk and GitHub
b216edf8d7
Merge pull request #81271 from ClickHouse/mark-exceptions-as-logged
...
mark exceptions as logged
2025-06-09 21:29:36 +00:00
Alexey Milovidov and GitHub
7f5f37cf06
Merge pull request #79429 from aaaengel/issue_63093
...
Support query parameters with dashes
2025-06-07 20:20:11 -07:00
Michael Stetsyuk
d195c257b7
mark exceptions as logged
2025-06-06 13:40:27 +00:00
Azat Khuzhin and GitHub
39dbf88b64
Merge pull request #81252 from azat/connections-fix-no_secure
...
Fix handling secure=false in connections credentials
2025-06-04 09:21:50 +00:00
Azat Khuzhin
ad5eae02c1
Fix handling secure=false in connections credentials
2025-06-03 22:59:04 +02:00
Raúl Marín and GitHub
51620392b1
Update Client.cpp
2025-06-02 21:43:29 +02:00
Raúl Marín
3cd4ad0d16
Remove usage of settings.h
2025-06-02 18:00:25 +02:00
Azat Khuzhin and GitHub
b59e216926
Merge pull request #80388 from azat/context-fwd-decl
...
Context forward declaration
2025-05-20 16:11:31 +00:00
Azat Khuzhin
5e4232089e
Context forward declaration
2025-05-17 17:40:02 +02:00
János Benjamin Antal
c2038a812d
Remove format_alter_commands_with_parentheses server setting
...
The setting was introduced and set false by default in 24.2. It was enabled by default in 25.2. As there are no LTS versions that doesn't support the new format, we can remove the setting.
2025-05-08 13:26:11 +00:00
Nikita Mikhailov
8d80ccde93
Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_63093
2025-05-07 23:56:03 +02:00
Engel Danila
b373482f99
Added test & fixed miss
2025-04-23 08:50:16 +03:00
Engel Danila
779d72c0c8
now it works with dash
2025-04-22 20:31:35 +03:00
Azat Khuzhin and GitHub
94264b1193
Merge pull request #77578 from azat/fix-applying-async_insert-from-server
...
Fix applying async_insert from server (via apply_settings_from_server)
2025-04-14 08:32:05 +00:00
Azat Khuzhin
296cda664b
Re-introduce query_to_execute for processParsedSingleQuery()
...
The problem is that without this distinction we have a query with
trailing comments (due to applied adjustQueryEnd())
2025-04-11 10:43:49 +02:00
Konstantin Bogdanov
678acbafdc
Fix OpenSSL early init
2025-04-10 21:33:00 +02:00
Azat Khuzhin
c6f93e16bb
Pass query for execution as string_view
...
The data that ASTPtr may refer to (in case of INSERT) should point to
the same memory region, since in case of async_insert, we need to
calcualte the end of the query, and we cannot do this without this.
2025-04-10 17:52:28 +02:00
Robert Schulze
f081eeb43f
storage.tables: parametrized_view_paramters --> parameterized_view_parameters
2025-03-24 18:49:46 +00:00
Nikita Mikhaylov
ee12273297
Improve the SSH protocol
2025-03-18 14:53:35 +01:00
Pedro Ferreira
fa01175659
Fix BuzzHouse run
2025-03-14 17:34:10 +00:00
Pedro Ferreira and GitHub
2f85860025
Merge branch 'master' into ast-update
2025-03-03 08:50:41 +01:00
Raúl Marín
ef127b87dc
Merge remote-tracking branch 'blessed/master' into part_splitter_build
2025-02-27 20:33:30 +00:00
Pablo Marcos
cb988ef115
Remove unnecessary include
...
If no destructor is added, an implicit destructor is automatically
generated in the header file for every translation unit including
the header. Since it's the destructor the one that needs to know
the size of what std::unique_ptr points to in order to know how
to destroy it, the best thing we can do is to define a default
destructor in the .cpp to prevent any automatic destructors
being generated via header include.
2025-02-27 08:55:06 +00:00
Pedro Ferreira
d9148951a4
This header is still needed
2025-02-26 16:18:37 +00:00
Pedro Ferreira
57b1e3f459
Addressing review comments
2025-02-26 16:05:59 +00:00
Pedro Ferreira and GitHub
9320a9625c
Merge branch 'master' into ast-update
2025-02-26 14:35:48 +01:00
Raúl Marín
2753c789b9
Untangle some dependencies
2025-02-25 12:23:47 +01:00
Shaun Struwig
76d00ad1af
docs/en -> /docs
2025-02-22 21:41:35 +01:00
Pedro Ferreira and GitHub
f6e406ef27
Merge branch 'master' into ast-update
2025-02-17 09:39:37 +01:00
Pedro Ferreira
1c58b9ef5f
This step has to be done later
2025-02-14 10:55:59 +00:00
Pedro Ferreira
1694fcf98f
More settings and load server settings at start
2025-02-14 10:48:58 +00:00
Pedro Ferreira
4c7a0b766e
Print seed used for AST fuzzer
2025-02-12 12:08:30 +00:00
Pedro Ferreira
8d24227a28
Set random settings while measuring performance
2025-02-11 17:28:15 +00:00
Pedro Ferreira
f4d59f51ec
Adding performance comparisons for AST fuzzer
2025-02-05 09:11:14 +00:00
Michael Kolupaev
1406c6533d
Add setting apply_settings_from_server
2025-02-04 06:46:41 +00:00