Nikita Mikhaylov
08c1901835
Merge branch 'master' of github.com:ClickHouse/ClickHouse into keywords-2
2024-04-17 12:11:48 +00:00
Alexander Tokmakov
bfa5e55e8c
Merge pull request #62300 from ClickHouse/tavplubix-patch-10
...
Add local address to network exception messages
2024-04-12 12:26:35 +00:00
Alexey Milovidov
9664fb9249
Highlight only when necessary
2024-04-12 00:44:26 +02:00
Alexey Milovidov
da05238c8e
Merge branch 'master' into revert-62508-revert-62123-full-syntax-highlight
2024-04-12 00:44:02 +02:00
Alexander Tokmakov
20e8b64cee
fix
2024-04-11 21:40:39 +02:00
Konstantin Bogdanov
63351e2fbb
Merge branch 'master' into faster_01676_clickhouse_client_autocomplete
2024-04-11 01:34:05 +02:00
Alexander Tokmakov
dcd0831f4c
fix
2024-04-11 00:12:52 +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
Alexander Tokmakov
87476b8b98
Merge branch 'master' into tavplubix-patch-10
2024-04-10 23:37:22 +02:00
Alexey Milovidov
4f38bf4f6b
Revert "Revert "Rich syntax highlighting in the client""
2024-04-10 21:39:02 +02:00
Raúl Marín
033efd7204
Revert "Rich syntax highlighting in the client"
2024-04-10 20:25:20 +02:00
Konstantin Bogdanov
fd0f6418e2
Merge branch 'master' into faster_01676_clickhouse_client_autocomplete
2024-04-10 16:15:21 +02:00
Alexey Milovidov
a2154418ee
Merge pull request #62123 from ClickHouse/full-syntax-highlight
...
Rich syntax highlighting in the client
2024-04-10 14:58:32 +02:00
Alexey Milovidov
1bae493ef7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into full-syntax-highlight
2024-04-10 14:57:36 +02:00
Kruglov Pavel
8ef64b0581
Merge pull request #61476 from Avogar/better-stress-upgrade-checks
...
Ignore DROP queries in stress test with 1/2 probability and TRUNCATE Memory/JOIN table instead of ignoring DROP in upgrade check
2024-04-10 12:43:22 +00:00
Konstantin Bogdanov
c8598bdb54
Add a flag to load suggestion data synchronously
2024-04-10 13:08:38 +02:00
János Benjamin Antal
af6ded7382
Merge pull request #62221 from azat/pager-output_format_pretty_max_value_width
...
Unlimited output_format_pretty_max_value_width for --pager
2024-04-10 10:46:55 +00:00
Alexey Milovidov
0e06a52962
Merge branch 'master' of github.com:ClickHouse/ClickHouse into full-syntax-highlight
2024-04-10 01:58:49 +02:00
Alexey Milovidov
0e7d05e091
Fix UBSan
2024-04-10 01:58:30 +02:00
Alexander Tokmakov
dedc25fd34
fix
2024-04-09 23:43:40 +02:00
Robert Schulze
8167b774b5
Merge pull request #62307 from rschu1ze/cleanup-ssh
...
Cleanup SSH-based authentication code
2024-04-09 21:10:09 +00:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2
2024-04-09 11:45:27 +00:00
Alexey Milovidov
9ebf091ae4
Documentation
2024-04-08 13:03:55 +02:00
Alexey Milovidov
537f045c1c
Miscellaneous
2024-04-08 12:39:23 +02:00
Alexey Milovidov
0ff26d2d77
A little better
2024-04-08 12:39:23 +02:00
Alexey Milovidov
fb664fa99f
Slightly better
2024-04-08 12:39:23 +02:00
Alexey Milovidov
c8d6dc47c3
Fix test
2024-04-08 12:39:23 +02:00
Alexey Milovidov
b9406f79d1
Better highlighting
2024-04-08 12:39:23 +02:00
Alexey Milovidov
b369291d47
Rich syntax highlighting in the client
2024-04-08 12:39:23 +02:00
Alexey Milovidov
f5e9a09d69
Remove support for INSERT WATCH query
2024-04-08 05:37:09 +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
Kruglov Pavel
589034c34c
Merge branch 'master' into better-stress-upgrade-checks
2024-04-05 15:27:02 +02:00
Robert Schulze
9d8f643f5b
Cleanup SSH-based authentication code
2024-04-05 08:43:23 +00:00
Alexander Tokmakov
5a897bc43e
Update Connection.cpp
2024-04-04 20:16:26 +02:00
Kruglov Pavel
3116650fa9
Merge pull request #61201 from ClickHouse/revert-61200-revert-60430-max-parallel-replicas-validate
...
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-04-03 17:05:59 +02:00
avogar
d87d5a9197
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks
2024-04-03 12:07:22 +00:00
Azat Khuzhin
4b668d0990
Unlimited output_format_pretty_max_value_width for --pager
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-03 12:33:14 +02:00
Alexey Milovidov
9da4ce29db
Revert output Pretty in tty
2024-03-29 16:16:15 +01:00
Nikita Mikhaylov
d18aba1194
Done
2024-03-27 19:26:19 +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
Azat Khuzhin
c7b919b19e
Replace distributed_insert_replicas_preferences with distributed_insert_skip_read_only_replicas
...
v2: fix test
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:57 +01:00
Azat Khuzhin
a19b27bd7c
Revert extra changed lines
...
That was the changes that looks OK for the initial patchset version, but
not now, after all review comments.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:16 +01:00
Azat Khuzhin
dbdf080108
Remove insert argument for ConnectionPoolWithFailover
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:22:38 +01:00
Azat Khuzhin
d922bfb1b0
Introduce distributed_insert_prefer_non_readonly_replica setting
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:40 +01:00
Azat Khuzhin
0e99781686
Move insert flag from ConnectionEstablisher to TryResult
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:40 +01:00
Azat Khuzhin
b9469e2729
Do not try to INSERT into readonly replicas for Distributed engine
...
Sometimes replica may be readonly for a long time, and this will make
some INSERT queries fail, but it does not make sense to INSERT into
readonly replica, so let's ignore them.
But note, that this will require to extend TableStatus (not extend, but
introduce new version), that will have is_readonly field.
Also before background INSERT into Distributed does not uses
getManyChecked() which means that they do not request TableStatus
packet, while now they would, though this is minor (just a note).
v2: Add a note about max_replica_delay_for_distributed_queries for INSERT
v3: Skip read-only replicas for async INSERT into Distributed
v4: Remove extra @insert parameter for ConnectionPool*::get*
It make sense only when the table name had passed --
ConnectionPoolWithFailover::getManyChecked()
v5: rebase on top LoggerPtr
v6: rebase
v7: rebase
v8: move TryResult::is_readonly into the end
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:38 +01: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
Alexey Milovidov
9b052d059d
No "please"
2024-03-26 09:00:20 +01:00
Kruglov Pavel
de1229ba60
Merge branch 'master' into better-stress-upgrade-checks
2024-03-25 19:18:35 +01:00
Alexey Milovidov
4db69c36f9
Remove unused code
2024-03-24 17:15:47 +01:00