Commit Graph

54 Commits

Author SHA1 Message Date
Nikolai Kochetov
5d763dead0 Change the way how rows_before_limit_at_least is calculated for processors pipeline. 2020-03-19 14:45:52 +03:00
Nikolai Kochetov
72fe21c5ae Better calculation for recommended number of threads to execute query pipeline. 2020-03-03 13:28:37 +03:00
alexey-milovidov
b3dfdbc1a0
Merge pull request #9387 from ClickHouse/fix_another_context_related_segfault
Fix Context-related segfault in StorageMerge and destruction order in BlockIO
2020-02-28 03:11:49 +03:00
Alexander Tokmakov
8a91081331 fix BlockIO destruction order 2020-02-27 18:40:11 +03:00
Alexey Milovidov
cb6cd2ffbb Added missing ErrorCodes, part 2 2020-02-25 21:10:48 +03:00
Nikolai Kochetov
32aa100938 fix totals port for pipe. 2020-02-03 17:28:30 +03:00
Nikolai Kochetov
0157de021a Processors support for StorageDistributed reading. 2020-01-31 11:54:57 +03:00
Nikolai Kochetov
bded6e5cff Added holded contexts and storages to Pipe. 2020-01-29 19:59:11 +03:00
Nikolai Kochetov
e7a29b24e5 Added table locks to Pipe. 2020-01-29 18:55:13 +03:00
Nikolai Kochetov
5a8a367228 Add processlist to PipelineExecutor. Throw exception if query was killed. 2020-01-28 15:59:34 +03:00
Nikolai Kochetov
edc28c3dd2 Update ResizeProcessor. 2020-01-13 15:04:02 +03:00
Nikolai Kochetov
39b91584fd Simplifu delayed stream in QueryPipeline. 2020-01-09 14:52:34 +03:00
Nikolai Kochetov
65a00150b2 Update num threads in processors. 2020-01-01 13:42:46 +03:00
Nikolai Kochetov
5a5d15c095 Enable quota for more processors. 2019-12-26 19:52:15 +03:00
Alexander Tokmakov
ba3969527f move table locks to main pipeline 2019-11-21 18:37:59 +03:00
Alexander Tokmakov
55f60a6bad hold shared pointers to table function Storage and Context from InterpreterSelectQuery 2019-11-15 21:42:32 +03:00
Nikolai Kochetov
055f21c9b7 Less wrappers for procesors pipeline. 2019-11-05 20:33:03 +03:00
Nikolai Kochetov
c7bb83262e Fix progress callback for processors pipeline. 2019-10-09 12:33:16 +03:00
Nikolai Kochetov
d4f11af817 Update QueryPipeline. 2019-10-04 20:49:14 +03:00
Nikolai Kochetov
9dea55c284 Do not pin sources for non MergeTree tables. 2019-09-12 16:23:24 +03:00
Nikolai Kochetov
95abc1f910 Removed dynamic_cast from PipelineExecutor. 2019-09-11 20:06:06 +03:00
Nikolai Kochetov
e55647eee9 Force add resize befor aggregating transform. 2019-09-03 13:14:13 +03:00
Nikolai Kochetov
0016d99f5e Add stream enumeration to Processors. 2019-09-02 17:49:05 +03:00
Nikolai Kochetov
de2221222e Don't skip empty chunks in Filter Transform. 2019-07-08 18:52:18 +03:00
Nikolai Kochetov
cc09bb5557 Fix distinct. 2019-06-25 19:41:06 +03:00
Nikolai Kochetov
96174e90b0 Fix build. 2019-06-25 19:41:00 +03:00
Nikolai Kochetov
ba6768557e Fix rows_before_limit_at_least. 2019-05-13 16:04:52 +03:00
Nikolai Kochetov
fe9a45fee1 Fix rows_before_limit_at_least. 2019-05-13 15:08:02 +03:00
Nikolai Kochetov
ad8af5b5ba Do not create processors for totals stream. 2019-04-30 20:12:43 +03:00
Nikolai Kochetov
00bccfa232 Fix rows_before_limit_at_least. 2019-04-29 19:52:50 +03:00
Nikolai Kochetov
aacc0572e5 Attach to current thread in threadpool. 2019-04-29 16:57:29 +03:00
Nikolai Kochetov
36a9b5155b Attach to current thread in threadpool. 2019-04-29 15:23:20 +03:00
Nikolai Kochetov
e8e5164d9d Don't use same headers for main and totals streams in QueryPipeline. 2019-04-25 17:52:51 +03:00
Nikolai Kochetov
b906e36eb6 Undo add thread_group to ThreadPool 2019-04-18 21:45:51 +03:00
Nikolai Kochetov
8718b7bb40 Added thread_group argument to ThreadPool. 2019-04-18 17:55:43 +03:00
Nikolai Kochetov
745beb6080 Fix rollup and cube transforms. 2019-04-18 15:43:13 +03:00
Nikolai Kochetov
0ad1c1a9a2 Fix totals. 2019-04-17 18:43:01 +03:00
Nikolai Kochetov
d5f878dba3 Fix totals. 2019-04-17 18:35:22 +03:00
Nikolai Kochetov
355c16eb79 Fix totals. 2019-04-17 17:58:34 +03:00
Nikolai Kochetov
647afb65e8 Fix totals. 2019-04-17 17:38:16 +03:00
Nikolai Kochetov
bcf3534e35 Fix get rows before limit at least. 2019-04-12 18:20:24 +03:00
Nikolai Kochetov
a72f402468 Fix double readPrefix call. 2019-04-11 16:04:43 +03:00
Nikolai Kochetov
d7aa7412ae Fix totals fro single remote source. 2019-04-10 19:28:37 +03:00
Nikolai Kochetov
539c06636f Fix limits for subqueries. 2019-04-10 15:38:57 +03:00
Nikolai Kochetov
24e432b38d Fix join for totals. 2019-04-10 14:15:30 +03:00
Nikolai Kochetov
59eae7b23d Fix join for totals. 2019-04-09 17:51:38 +03:00
Nikolai Kochetov
695238147b Fix header for union. 2019-04-09 16:07:07 +03:00
Nikolai Kochetov
54066fc312 Fix rows_before_limit_at_least. 2019-04-09 13:17:25 +03:00
Nikolai Kochetov
54b15385bd Calculate rows_before_limit_at_least. 2019-04-08 17:55:20 +03:00
Nikolai Kochetov
4d76bddddc Update QueryPipeline. 2019-04-08 12:31:49 +03:00