pufit
0ec292a65f
Revert "Revert "FuzzQuery table function""
...
This reverts commit ff44b206
2024-08-02 00:32:01 -04:00
Nikita Mikhaylov
1c9d60ca97
Refactoring
2024-07-29 17:28:03 +00:00
Vitaly Baranov
b64c781457
Merge pull request #67133 from vitlibar/fix-context-race-in-clickhouse-local
...
Use a separate client context in clickhouse-local
2024-07-27 20:12:24 +00:00
Vitaly Baranov
0cf0437196
Use separate client context in clickhouse-local
2024-07-26 13:26:15 +02:00
Raúl Marín
ff44b20661
Revert "FuzzQuery table function"
2024-07-24 14:51:48 +02:00
pufit
497ab310be
Merge branch 'master' into pufit/fuzz-query
...
# Conflicts:
# src/Storages/registerStorages.cpp
2024-07-03 00:02:54 -04:00
Nikita Mikhaylov
782669a9fd
Refactor
2024-06-25 14:23:37 +00:00
Yarik Briukhovetskyi
eee6fa4242
cosmetic fixes, comments for tests, user hints fixes
2024-04-26 13:19:22 +02:00
pufit
6329dc8124
fix
2024-04-09 15:05:49 +02:00
Azat Khuzhin
8782873e4f
Fix overrides via connections_credentials in case of root directives exists
...
Before the following did not work, it always uses user `dev`, even with
`clickhouse-client --connection prod`:
```yaml
user: dev
connections_credentials:
prod:
name: prod
user: prod
```
The problem was that before it was not possible to distinguish options
that had been set via command line options and via configuration file.
I've splitted this two actions, and embedded a call to
parseConnectionsCredentials() in between.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-27 20:03:50 +02:00
Azat Khuzhin
4564a1ef29
Add ability to override connection settings based on connection names
...
This is somehow analog of .netrc [1].
[1]: https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
The follow options can be overwritten on a per-hostname/connection
basis:
- hostname
- port
- secure
- user
- password
- database
- history_file
Also note, that you can have multiple settings for one hostname, can be
useful to distinguish readonly from non-readonly for example.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-28 17:01:12 +01:00
Anton Popov
e347fa2f45
add fuzzer for table definition
2022-08-11 02:34:10 +00:00
Vitaly Baranov
8873d16afe
Fix interactive client with older server after https://github.com/ClickHouse/ClickHouse/pull/38970
2022-07-20 11:51:55 +02:00
taiyang-li
1114c54899
merge master and fix conflict
2022-03-23 11:03:25 +08:00
kssenii
199188be08
Support test mode for clickhouse-local
2022-03-14 12:02:06 +01:00
taiyang-li
7f69507c95
finish dev
2022-03-01 17:22:12 +08:00
avogar
75c56163a0
Refactor client fault tolerant connection
2022-02-10 12:43:08 +03:00
kssenii
ad1b7c83cd
Fix
2021-11-14 07:19:59 +00:00
kssenii
07bab5193f
Delayed interactive
2021-10-29 16:23:53 +03:00
avogar
a1a4df2501
Fix handling exception 'unrecognised option' in clickhouse-local and client
2021-10-14 16:34:05 +03:00
kssenii
8d19ed5ee7
Fix remaining tests
2021-09-20 05:39:13 +00:00
kssenii
ca81c13775
Move readArguments to base
2021-09-11 11:49:42 +00:00
kssenii
ddfe1e4d64
Some fixes
2021-09-11 11:34:22 +00:00
kssenii
8f77855981
Some review fixes
2021-09-05 00:52:35 +03:00
kssenii
7d6f3d96c1
Better
2021-08-23 13:01:42 +03:00
kssenii
1f0bb0d81b
Reorganize a bit more, fix tests
2021-08-21 18:17:02 +03:00
kssenii
21f9622cad
Reorganize multiquery processing
2021-08-20 23:39:13 +03:00
kssenii
b5f6a7cb97
Fix local
2021-08-19 14:07:47 +03:00
kssenii
d1484a6f2e
Use more client code than local, hope tests survive
2021-08-19 00:01:17 +03:00
kssenii
e187bb781c
Move everything to base
2021-08-18 17:39:04 +03:00
kssenii
fb0b445ee0
Lets add LocalConnection (a start)
2021-08-17 22:59:51 +03:00
kssenii
b5b9624cca
Fixes, add test
2021-08-03 23:49:16 +03:00
kssenii
c9e607f1e8
Progress for interactive clickhouse local
2021-07-31 15:08:30 +03:00
kssenii
3f259e195b
Better
2021-07-29 15:58:50 +03:00
kssenii
22e3bde548
Refactoring, fix test, fix local interactive
2021-07-29 12:45:58 +03:00
kssenii
62d1e18b7f
Refactoring
2021-07-28 18:54:32 +03:00
kssenii
d30f54b335
Refactoring, fix tests
2021-07-27 01:28:27 +03:00
kssenii
4886d931a1
Fix some tests
2021-07-26 11:24:04 +03:00
kssenii
accd6d5c0f
Refactoring
2021-07-24 00:32:38 +03:00
kssenii
8c05e4f038
Refactoring
2021-07-23 23:54:49 +03:00
kssenii
59b0ce21e4
Tiny refactoring
2021-07-23 00:27:26 +03:00
kssenii
e056565e8a
Apply changes from pr 26282 (and 2c3c329
) to Client.cpp
2021-07-22 22:38:37 +03:00
kssenii
022a0e00f2
Refactor client, merging non-interactive
2021-07-18 23:18:11 +03:00