kssenii
c88dc460d4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-16 16:13:04 +00:00
Nikolai Kochetov
e616732743
Small refactoring.
2021-09-15 22:35:48 +03:00
Anton Popov
f6191b98e7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-15 17:47:22 +03:00
Nikolay Degterinsky
f275c66428
Fix algorithm
2021-09-15 17:08:47 +03:00
Nikita Mikhaylov
2684d06b51
Merge pull request #27135 from FArthur-cmd/compressed_output_formats_3473
...
compress INTO OUTFILE with parameter compress
2021-09-15 16:25:13 +03:00
Nikolay Degterinsky
24e515df05
Merge branch 'master' into query_parameters
2021-09-15 16:15:50 +03:00
Anton Popov
9646edf3dc
fix possible race in AsynchronousInsertQueue
2021-09-15 02:54:10 +03:00
Anton Popov
fc17936c12
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-14 23:02:30 +03:00
Nikolai Kochetov
7fc830ae2b
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 19:28:41 +03:00
Azat Khuzhin
dad02452c8
Apply settings from CREATE AS SELECT queries
2021-09-13 10:10:00 +03:00
Nikolay Degterinsky
35db28321e
Fix tests
2021-09-10 19:35:56 +03:00
Nikolai Kochetov
bc7c70f93f
Try to fix build.
2021-09-10 12:03:45 +03:00
Nikolai Kochetov
f569a3e3f7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-09 20:30:23 +03:00
Filatenkov Artur
cdb1a0504f
Merge branch 'master' into compressed_output_formats_3473
2021-09-08 18:46:48 +03:00
Nikolay Degterinsky
22f59e1714
Add support for table and database query parameters
2021-09-07 01:19:02 +03:00
kssenii
1c20b223cb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-04 20:01:31 +03:00
Nikolai Kochetov
66a76ab70f
Rewrite PushingToViewsBlockOutputStream part 6
2021-09-03 20:29:36 +03:00
Nikolai Kochetov
358babc31b
Rewrite PushingToViewsBlockOutputStream part 5.
2021-09-02 14:29:20 +03:00
Anton Popov
5e421ab272
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-02 02:42:50 +03:00
Anton Popov
7c42ce8370
improvements of async inserts
2021-09-02 02:18:09 +03:00
Anton Popov
5e694596c9
minor changes near async inserts
2021-09-01 18:06:11 +03:00
Nikolay Degterinsky
b9ea863a88
Remove unnecessary include
2021-08-30 12:58:56 +03:00
Nikolay Degterinsky
c9adef001d
Change settings earlier
2021-08-30 12:52:35 +03:00
Anton Popov
9e67943878
add waiting for async inserts
2021-08-28 00:29:10 +03:00
Anton Popov
e8ac8e3454
execute asynchronous inserts separatly for each client
2021-08-27 06:00:12 +03:00
alexey-milovidov
3d38604c55
Update executeQuery.cpp
2021-08-27 00:59:58 +03:00
Nikolay Degterinsky
7c66ad051d
Fix
2021-08-26 16:42:49 +03:00
Anton Popov
6d3274c22c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-26 03:31:46 +03:00
Nikolay Degterinsky
2c81a35b4e
Add setting
2021-08-25 17:41:21 +03:00
kssenii
b5f6a7cb97
Fix local
2021-08-19 14:07:47 +03:00
kssenii
cefd9b473e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-16 16:41:24 +03:00
Kseniia Sumarokova
b024c215af
Merge pull request #24757 from zdikov/subquery-operators
...
Subquery operators
2021-08-15 21:33:59 +03:00
kssenii
55650b1e67
Change behaviour of except, some fixes
2021-08-13 12:57:15 +03:00
kssenii
a549e29bd4
Better
2021-08-12 16:35:46 +03:00
Raúl Marín
d1d47658f5
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-10 10:49:05 +02:00
Anton Popov
78dbcaea54
implement async inserts with processors
2021-08-08 06:30:14 +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
Amos Bird
5ef59d4828
Add setting to log formatted query into system.query_log
2021-08-07 14:26:38 +08:00
Anton Popov
3a0d4807a5
Merge branch 'async-insert' of git://github.com/abyss7/ClickHouse into merging-20557
2021-08-06 16:20:02 +03:00
tavplubix
14ef66e49b
Merge pull request #25895 from ClickHouse/improve_create_or_replace
...
Improve CREATE OR REPLACE query
2021-08-06 11:58:46 +03:00
Raúl Marín
479f053f2e
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-05 17:24:10 +02:00
Maksim Kita
71e5cfe3ca
Merge pull request #27134 from FArthur-cmd/compress_output_3473
...
add compression for INTO OUTFILE
2021-08-05 14:20:08 +03:00
alexey-milovidov
975e0a4d47
Merge pull request #27182 from amosbird/logquerykind
...
Try our best to log query_kind
2021-08-05 12:43:13 +03:00
kssenii
9f9be65ac7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-05 10:42:32 +03:00
Azat Khuzhin
643c31d6f3
Save information about used functions/tables/... into query_log on error
2021-08-04 21:44:18 +03:00
Amos Bird
b80065ab59
Try our best to log query_kind
2021-08-04 22:09:23 +08:00
Artur
f4a59a6abf
correct tests
2021-08-03 13:41:58 +00:00
Artur
a9513f3587
add compression for INTO OUTFILE
2021-08-03 11:54:37 +00:00
Artur
c55ead0fdb
compress INTO OUTFILE with parameter compress
2021-08-03 11:33:52 +00: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
c9e607f1e8
Progress for interactive clickhouse local
2021-07-31 15:08:30 +03:00
Raúl Marín
297b939c66
Fix test #01600
2021-07-27 16:29:33 +02:00
Raúl Marín
70b7bb4eaa
Refresh table acecss information before the final query_log
...
Table access should show the tables used by joins in dependent views
2021-07-27 16:29:33 +02:00
Raúl Marín
f0125262b7
Add views and it's tables to system.query_log
2021-07-27 16:29:33 +02:00
mergify[bot]
044be267d6
Merge branch 'master' into improve_create_or_replace
2021-07-26 08:38:48 +00:00
Nikolai Kochetov
f38de35b14
Rename some constants.
2021-07-21 19:13:17 +03:00
Nikolai Kochetov
179ec05a72
Remove some streams.
2021-07-20 21:18:43 +03:00
Vitaly Baranov
4f1926550b
Merge pull request #26429 from vitlibar/remove-mysql-wire-context
...
Remove MySQLWireContext
2021-07-19 12:21:24 +03:00
Alexey Milovidov
c648e8356b
Remove even more code
2021-07-17 21:58:51 +03:00
Vitaly Baranov
0f8b196682
Remove MySQLWireContext.
2021-07-16 22:21:20 +03:00
mergify[bot]
b7ae4e4ced
Merge branch 'master' into async-insert
2021-07-12 09:21:37 +00:00
kssenii
947bb4a942
Fix progress bar for local
2021-07-09 16:43:00 +03:00
Alexander Tokmakov
5e44fa32b4
Merge branch 'master' into improve_create_or_replace
2021-07-06 11:50:43 +03:00
Alexey Milovidov
127455f15f
Remove experimental ANTLR parser
2021-07-03 18:48:03 +03:00
Alexander Tokmakov
1b2416007e
fix
2021-07-01 19:43:59 +03:00
Alexander Tokmakov
d9a77e3a1a
improve CREATE OR REPLACE query
2021-07-01 16:21:38 +03:00
Ivan Lezhankin
d7126682b0
Fix shared build
2021-06-29 15:05:46 +03:00
Ivan Lezhankin
37439a8af6
Fix typos
2021-06-29 01:51:01 +03:00
Ivan Lezhankin
09b3db38f0
Don't create input stream for native data
2021-06-28 23:43:37 +03:00
Ivan Lezhankin
79a1a6c599
Revert "Filter out some insert-settings"
...
This reverts commit 14c5eff6dd
.
2021-06-28 22:56:38 +03:00
Ivan Lezhankin
14c5eff6dd
Filter out some insert-settings
2021-06-17 17:59:28 +03:00
Ivan Lezhankin
37365589ed
Merge branch 'master' into async-insert
2021-06-17 16:57:45 +03:00
Amos Bird
49db4dbe6a
Update comment
2021-06-11 23:24:38 +08:00
Amos Bird
7d9a1106b8
Add initial_query_start_time to query log
2021-06-11 22:24:53 +08:00
alexey-milovidov
295dc6b517
Revert "Add initial_query_start_time to query log"
2021-06-06 20:57:04 +03:00
alexey-milovidov
db384a163c
Merge pull request #24388 from amosbird/initialquerystarttime
...
Add initial_query_start_time to query log
2021-06-06 16:15:37 +03:00
Ivan Lezhankin
791cbcf0b1
Merge remote-tracking branch 'upstream/master' into async-insert
2021-06-02 18:50:37 +03:00
Ivan Lezhankin
84c23dc060
Merge branch 'master' into async-insert
2021-06-02 18:06:21 +03:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
Amos Bird
7bc13f7ae8
Add initial_query_start_time to query log
2021-05-24 17:06:40 +08:00
Amos Bird
264cff6415
Projections
...
TODO (suggested by Nikolai)
1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies
3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)
Also need to figure out how prewhere works for projections, and
row_filter_policies.
wip
2021-05-11 18:12:23 +08:00
Alexey Milovidov
604daa9581
Fix a bunch of warnings from PVS-Studio
2021-05-08 19:09:17 +03:00
Alexey Milovidov
54fb40c041
Fix OpenTelemetry
2021-05-05 01:42:14 +03:00
Ivan Lezhankin
484528ba2c
Fix problem with use-after-free inside shared_ptr
2021-04-21 16:19:28 +03:00
Ivan Lezhankin
a36596e303
Add settings
2021-04-19 22:16:34 +03:00
Ivan Lezhankin
bb1c2ae576
Fix table resolution
2021-04-15 13:53:26 +03:00
Ivan Lezhankin
867e957e71
Fix INSERT SELECT default behavior
2021-04-15 12:53:34 +03:00
Ivan Lezhankin
9e5d274467
Merge remote-tracking branch 'upstream/master' into async-insert
2021-04-14 20:16:05 +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
Ivan Lezhankin
4f1fad97ab
Merge remote-tracking branch 'upstream/master' into async-insert
2021-03-19 23:41:01 +03:00
Ivan Lezhankin
346818266a
[WIP]
2021-03-17 17:11:47 +03:00
Nikita Mikhaylov
38e1cb41cc
done
2021-03-11 17:04:59 +03:00
Ivan Lezhankin
74214865eb
Merge remote-tracking branch 'upstream/master' into async-insert
2021-03-04 14:14:28 +03:00
Ivan Lezhankin
b726845be2
[WIP]
2021-03-04 14:10:21 +03:00
Nikolai Kochetov
59a2c45555
Update executeQuery.cpp
2021-03-02 13:09:29 +03:00
feng lv
4c30c10092
add test
...
fix
2021-02-26 12:14:57 +00:00
feng lv
731faeadbf
union distinct improve
2021-02-25 07:47:08 +00:00
Ivan Lezhankin
265b76203d
Fix tail setting for insert query
2021-02-19 18:18:28 +03:00
Ivan Lezhankin
cd9bbc226a
Watch out for none output streams
2021-02-17 20:53:42 +03:00