Nikolai Kochetov
e616732743
Small refactoring.
2021-09-15 22:35:48 +03:00
Nikolai Kochetov
7fc830ae2b
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 19:28:41 +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
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
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
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
Nikolay Degterinsky
2c81a35b4e
Add setting
2021-08-25 17:41:21 +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
Amos Bird
5ef59d4828
Add setting to log formatted query into system.query_log
2021-08-07 14:26:38 +08: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
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
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
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
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
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
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
Nikita Mikhaylov
38e1cb41cc
done
2021-03-11 17:04:59 +03:00
Nikolai Kochetov
59a2c45555
Update executeQuery.cpp
2021-03-02 13:09:29 +03:00