Anton Popov
5bb1b3ce77
support async inserts in clickhouse-client for queries with inlined data
2022-02-02 20:59:37 +03:00
Azat Khuzhin
36c4fc054c
Client interactive suggest (extract info from CREATE queries)
...
This will parse CREATE queries and add the following things to
completion list for clickhouse-client/clickhouse-local:
- table
- database
- columns
2021-12-26 19:10:25 +03:00
凌涛
ad34217873
Add hints for clickhouse client options
2021-12-16 20:19:00 +08: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
Vitaly Baranov
6634fcbac7
Rename Quota::ResourceType -> QuotaType and move it to Access/Common.
2021-11-19 00:14:23 +03:00
kssenii
ad1b7c83cd
Fix
2021-11-14 07:19:59 +00:00
Kseniia Sumarokova
908d78febe
Merge pull request #30851 from kssenii/clickhouse-local-improve
...
Allow delayed interactive mode
2021-11-08 10:07:29 +03:00
tavplubix
94a66f724e
Merge pull request #30135 from FArthur-cmd/add_parallel_reading_from_infile
...
Add parallel file reading `FROM INFILE` in client
2021-11-06 15:54:27 +03:00
kssenii
feb3d8bc75
Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-local-improve
2021-11-02 20:01:15 +00:00
Alexey Milovidov
05c2cd098c
Fix parallel formatting and progress flicker in clickhouse-client
2021-10-30 21:02:33 +03:00
kssenii
07bab5193f
Delayed interactive
2021-10-29 16:23:53 +03:00
Artur
20c5e9d321
refactoring, adding tests for local
2021-10-26 15:16:58 +00:00
Filatenkov Artur
328a605f7e
Merge branch 'ClickHouse:master' into add_parallel_reading_from_infile
2021-10-22 15:20:00 +03:00
kssenii
ec7c93728b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-local-exceptions
2021-10-20 23:42:27 +00:00
Ilya Yatsishin
4396daeb1f
Merge pull request #30064 from azat/client-print-profile-events
2021-10-19 12:42:09 +03:00
kssenii
4bf1f2ca12
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-local-exceptions
2021-10-19 08:28:47 +00:00
Azat Khuzhin
424bf6fcf4
client: add ability to print raw profile events
...
This can be useful for debugging and for testing (since you will not
need to obtain query_id and look at query_log).
v2:
- mark test as long
- add option to docs
- add type of profile event into logs too
v3:
- resolve conflicts
- and fix onProfileEvents callback
v4:
- add --print-profile-events separate switch
2021-10-19 00:54:38 +03:00
Kruglov Pavel
003955b59f
Merge branch 'master' into clickhouse-local
2021-10-18 14:24:08 +03:00
kssenii
5db75f9e77
Better exception
2021-10-16 11:30:24 +00:00
Nikolai Kochetov
067eaadadd
Merge branch 'master' into removing-data-streams-folder
2021-10-16 09:46:05 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
Filatenkov Artur
77bbd949dc
Merge branch 'ClickHouse:master' into add_parallel_reading_from_infile
2021-10-15 15:26:45 +03:00
avogar
a1a4df2501
Fix handling exception 'unrecognised option' in clickhouse-local and client
2021-10-14 16:34:05 +03:00
Nikolai Kochetov
3d3e143c29
Merge pull request #30001 from ClickHouse/remove-streams-from-formats
...
Remove streams from formats.
2021-10-14 12:39:07 +03:00
Filatenkov Artur
bf1d45362d
Merge branch 'master' into add_parallel_reading_from_infile
2021-10-13 18:47:13 +03:00
Artur
18c2ac2e1e
add parallel reading from infile in client
2021-10-13 15:43:52 +00:00
Nikolai Kochetov
ec18340351
Remove streams from formats.
2021-10-11 19:11:50 +03:00
Dmitry Novik
15ac65aa33
Add thread usage info on client side
2021-10-11 17:39:24 +03:00
Dmitry Novik
362bcb2f66
Introduce ProfileEvents packet
2021-10-11 17:29:50 +03:00
Nikolai Kochetov
340b53ef85
Remove some more streams.
2021-10-08 17:03:54 +03:00
Kseniia Sumarokova
ad0fcda713
Update ClientBase.h
2021-10-03 12:11:59 +03:00
kssenii
e10255bba3
Fix
2021-10-02 08:10:34 +00:00
kssenii
dabab85c60
Fix
2021-10-01 17:31:00 +00:00
kssenii
05181c6900
Fix
2021-10-01 14:13:02 +00:00
kssenii
59cbe8579d
Interrupt listener
2021-09-29 22:01:52 +00:00
kssenii
f3784780fd
Fixes
2021-09-25 08:46:57 +00:00
kssenii
04575eb12b
Review fixes, fix style check and clang-tidy
2021-09-22 21:35:29 +00: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
30cc705464
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-07 22:53:50 +03:00
kssenii
b5b9624cca
Fixes, add test
2021-08-03 23:49:16 +03:00