Raúl Marín and GitHub
a6597b3294
Revert "Don't try to authenticate twice when using ssh"
2026-01-20 21:05:38 +01:00
Isak Ellmer and Alexey Milovidov
5eab9e5d24
Don't try to authenticate twice when using ssh
2026-01-19 20:15:39 +01:00
Bharat Nallan Chakravarthy
ae119119a6
Merge 'master' into client-warnings-xml-option
2026-01-17 11:59:26 +05:30
Krishna Mannem
e99c7f8e11
skip cloud endpoint autologin stuff if uri contains user/pass
2026-01-12 16:17:48 -05:00
Bharat Nallan Chakravarthy
0764b531ae
Merge 'master' into client-warnings-xml-option
2026-01-06 06:59:30 +05:30
Krishna Mannem
e0481761a5
do not use oauth login when username + password is in connection string
2026-01-05 16:55:01 -05:00
Cole Smith
e7f9d16029
require spaces on both sides
...
nit
2025-12-29 20:49:07 -05:00
Cole Smith
c31dec09f9
allow spaces around equal sign
...
add tests
nit
2025-12-29 14:04:06 -05:00
Ladislav Snizek
ca76f6e363
Merge branch 'master' into client-warnings-xml-option
2025-12-29 14:09:57 +01:00
Alexey Milovidov and GitHub
d7740f3bd6
Merge branch 'master' into tls-sni
2025-12-25 17:03:34 +01:00
Alexey Milovidov
61139cdeab
Merge branch 'master' into prevent-calling-to-string-on-field
2025-12-17 02:21:06 +01:00
Krishna Mannem
284c8ba0a1
add tests
2025-12-11 12:48:34 -05:00
Krishna Mannem
4249c2f46f
respect client configuration
2025-12-11 10:04:58 -05:00
Krishna Mannem
969d9fd8c7
Revert "Revert "Idp login cli support""
...
This reverts commit 73a81cb3c2 .
2025-12-11 10:04:58 -05:00
Alexey Milovidov
0e6a4bbaa7
Prevent implicit conversions to Field when calling toString
2025-12-06 20:48:34 -08:00
Matt Klein
435455d89e
client: allow TLS SNI override
...
When connecting to Clickhouse Cloud (or any similar proxied
setup) over a tunnel it is required to correctly specify SNI
on the TLS connection. This allows overriding SNI if the DNS
is something else.
Signed-off-by: Matt Klein <[email protected] >
2025-11-08 09:32:44 -07:00
Pavel Kruglov and GitHub
f5eb8467b4
Merge branch 'master' into client-version-message-option
2025-11-05 14:01:48 +01:00
Konstantin Bogdanov
48d2f3b145
Fix readability-container-contains
2025-11-04 23:40:04 +01:00
Azat Khuzhin
d9354e135f
Fix ~ expansion in history file override
...
Simply checking for `~/` should be enough, since we do not support
anything except expanding current's user `$HOME` (i.e. we do not support
`~another_user` syntax).
2025-10-29 17:08:54 +01:00
Ladislav Snizek
5015f81b89
Merge branch 'master' into client-warnings-xml-option
2025-10-21 13:39:08 +02:00
Ladislav Snizek
94c368b7a2
Add --no-server-client-version-message and <server_client_version_message/> client option (clean console startup)
2025-10-21 13:17:15 +02:00
Konstantin Bogdanov
e747fec21f
Fix tidy
2025-10-16 19:33:13 +02:00
Konstantin Bogdanov
bb1f1c889c
Remove redundant include
2025-10-16 19:33:11 +02:00
Konstantin Bogdanov
d87478b7c2
Lint
2025-10-16 19:33:10 +02:00
Konstantin Bogdanov
9b5f4308bb
Draft implementation
2025-10-16 19:33:08 +02:00
Alexey Milovidov
b75dc907fb
Merge with master
2025-10-14 16:17:16 +02:00
Alexey Milovidov and GitHub
889c9d90c6
Merge branch 'master' into revert-83490-revert-82535-compression-logs-profile-events
2025-10-14 16:14:27 +02:00
Alexey Milovidov
8333d54e2b
Merge branch 'master' into revert-83490-revert-82535-compression-logs-profile-events
2025-10-13 22:37:24 +02:00
Nikita Fomichev and GitHub
73a81cb3c2
Revert "Idp login cli support"
2025-10-12 23:32:09 +02:00
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
Ladislav Snizek
e3289a9734
Add <warnings/> client option as alternative to --no-warnings
2025-09-28 17:14:05 +02: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
Alexey Milovidov and GitHub
f2208e887c
Merge branch 'master' into revert-83490-revert-82535-compression-logs-profile-events
2025-07-18 07:19:38 +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
Alexey Milovidov and GitHub
5aa8947b18
Revert "Revert "Compress logs and profile events in the native protocol""
2025-07-10 14:37:42 +02: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