Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Kseniia Sumarokova
d3763c4a62
Update ClientBase.h
2022-04-06 12:13:34 +02:00
kssenii
83488b2d13
Better
2022-04-05 14:48:26 +02:00
kssenii
199188be08
Support test mode for clickhouse-local
2022-03-14 12:02:06 +01:00
avogar
75c56163a0
Refactor client fault tolerant connection
2022-02-10 12:43:08 +03:00
Azat Khuzhin
fa6090f588
Fix processing initial table (--table/stdin) in clickhouse-local
...
This patch will:
- fix the issue when table had been tried to create multiple times for
--queries-files
- create these table for --interactive mode (before it works only if you
had some queries already, i.e. when it run interactive after
non-interactive)
This will also make ClientBase interface a little bit cleaner, by
removing one abstract method getQueryTextPrefix()
2021-12-10 22:08:03 +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
41d735fd56
Fix context
2021-08-20 15:16: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
f6e45b3193
Fix tests, style. Better cancel query
2021-08-02 17:46:21 +03:00
kssenii
6d4440836b
Process SIGINT in interactive mode
2021-08-02 01:22:07 +03:00
kssenii
3982031215
Completion for clickhouse-local
2021-08-01 23:28:39 +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
fb18f7fc72
Fix tests
2021-07-27 17:15:31 +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
022a0e00f2
Refactor client, merging non-interactive
2021-07-18 23:18:11 +03:00
kssenii
ae4644d05a
Fix some tests
2021-07-15 10:02:14 +03:00
kssenii
bc3c038ac7
Better
2021-07-12 17:01:46 +03:00
kssenii
9ff54216ea
More merges in query execution code
2021-07-12 15:25:17 +03:00
kssenii
e31eccfaf2
Support multiquery option
2021-07-12 12:34:37 +03:00
kssenii
a10b9ed63a
Start merging query processing code
2021-07-12 02:17:14 +03:00
kssenii
d58a5537c2
Fix details
2021-07-12 00:54:41 +03:00
kssenii
026fa0ca64
Merge main, mainImpl code, allow interactive mode for clickhouse-local
2021-07-11 23:35:29 +03:00
kssenii
0b5dab1326
Merge init code for local and client
2021-07-11 14:36:27 +03:00
mergify[bot]
08eca33d81
Merge branch 'master' into progress-bar
2021-05-31 19:54:20 +00:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
kssenii
c25be65ebf
Refactor progress bar, adjust progress indication for reading from file
2021-05-14 06:16:31 +00:00
Amesaru
9650497edb
Moved ProgressBar from src/Client to src/Common
2021-05-06 22:35:21 +03:00
Amesaru
f4f6e17bcd
More fixes
2021-05-06 19:42:57 +03:00
Amesaru
77f1218efb
United progress bar for LocalServer and Client
2021-05-06 19:39:27 +03:00
Amesaru
75371b94f7
Add progress bar to LocalServer
2021-05-06 19:33:32 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00