Nikolai Kochetov
7fa045cff8
Merge branch 'master' into storage-read-query-plan
2020-10-22 13:31:10 +03:00
Amos Bird
ca7a5ccd0d
More resize
2020-10-13 09:56:35 +08:00
Nikolai Kochetov
7e58f99f64
Merge branch 'master' into storage-read-query-plan
2020-10-12 13:12:39 +03:00
Amos Bird
d2dcfc3f0d
Refactor processors.
2020-10-12 17:30:05 +08:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Nikolai Kochetov
f9bf1e3406
Merge branch 'master' into storage-read-query-plan
2020-10-06 09:50:10 +03:00
Azat Khuzhin
2a2f858365
Significantly reduce memory usage in AggregatingInOrderTransform
...
Clean the aggregates pools (Arena's objects) between flushes, this will
reduce memory usage significantly (since Arena is not intended for
memory reuse in the already full Chunk's)
Before this patch you cannot run SELECT FROM huge_table GROUP BY
primary_key SETTINGS optimize_aggregation_in_order=1 (and the whole
point of optimize_aggregation_in_order got lost), while after, this
should be possible.
2020-10-03 00:56:58 +03:00
alesapin
17b86dec96
Recursive defaults
2020-10-02 15:38:50 +03:00
Nikolai Kochetov
ec64def384
Use QueryPlan while reading from MergeTree.
2020-10-01 20:34:22 +03:00
Alexander Kuzmenkov
679c0988a5
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-22 16:25:52 +03:00
Alexander Kuzmenkov
fb64cf210a
straighten the protocol version
2020-09-17 17:37:29 +03:00
Nikolai Kochetov
3cc89d467c
Merge branch 'master' into query-plan-for-creating-sets
2020-09-15 20:15:41 +03:00
Nikolai Kochetov
118a8a513e
Update mutations interpreter.
2020-09-15 20:13:13 +03:00
Nikolai Kochetov
6eac433c55
Review fixes.
2020-09-15 13:40:39 +03:00
Nikolai Kochetov
bcfc83022a
Return query plan from storage.
2020-09-14 17:13:58 +03:00
alexey-milovidov
f2e9a09b11
Merge pull request #14585 from ClickHouse/join-processor
...
Remove Join from ExpressionActions
2020-09-08 23:56:09 +03:00
Nikolai Kochetov
b0cb5511a9
Fix build.
2020-09-08 14:17:39 +03:00
Nikolai Kochetov
39aad9979a
Remove Join from ExpressionActions.
2020-09-08 13:40:53 +03:00
Nikolai Kochetov
c3eeb8f71e
Merge pull request #14412 from ClickHouse/pipes-and-creating-sets
...
Pipes and creating sets
2020-09-08 10:47:56 +03:00
Nikolai Kochetov
41a3fad1ea
Allow many rows in totals.
2020-09-04 15:34:36 +03:00
Nikolai Kochetov
b7e53208d1
Fix tests.
2020-09-04 11:36:47 +03:00
Nikolai Kochetov
acfd35a908
Update QueryPipeline::addCreatingSetsTransform
2020-09-02 16:04:54 +03:00
Nikolai Kochetov
f82b799f12
Update CreatingSetsTransform.
2020-09-01 16:53:11 +03:00
Mark Papadakis
ff76790a59
Update AggregatingTransform.cpp
...
Replaced redundant call to chunk.getNumRows() with local var.
2020-08-28 16:08:06 +03:00
Nikolai Kochetov
7c0fcb2039
Merge pull request #13611 from ClickHouse/array-join-processor
...
Refactor ARRAY JOIN
2020-08-20 17:56:37 +03:00
Nikolai Kochetov
8e631a98ea
Refactor ActionsChain.
2020-08-14 21:24:58 +03:00
Nikolai Kochetov
95bbda3667
Specify columns after ARRAY JOIN and JOIN.
...
Add ArrayJoinTransform and ArrayJoinStep.
2020-08-14 21:24:03 +03:00
Nikolai Kochetov
9b67cd9faf
Merge branch 'master' into refactor-pipes-3
2020-08-10 10:50:17 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Anton Popov
e7d3154d38
fix queries with order by prefix of primary key and constant columns
2020-08-06 02:37:39 +03:00
Nikolai Kochetov
9385f3de0e
Refactor Pipe [part 4].
2020-08-04 16:06:59 +03:00
alexey-milovidov
91156bef54
Merge pull request #13075 from ClickHouse/fix-11327
...
Fix 11327
2020-07-31 14:53:07 +03:00
Nikolai Kochetov
3306a24273
Update ConvertingTransform.h
2020-07-31 14:11:03 +03:00
Nikolai Kochetov
fdc49cadb7
Ignore constants for remote query from local replica.
2020-07-29 15:51:59 +03:00
Alexander Kuzmenkov
f6f2812f73
Block structure mismatch is a program error
2020-07-28 21:35:18 +03:00
Nikolai Kochetov
cc7ebfac78
Fix Pipeline stuck for external sort.
2020-07-21 12:23:54 +03:00
Alexey Milovidov
ef930df484
Avoid overflow in LIMIT #10470 #11372
2020-07-12 08:18:01 +03:00
Anton Popov
1122d99ba8
fix order of columns in WITH FILL modifier
2020-07-09 02:56:44 +03:00
Alexey Milovidov
9c53a90e3d
Non-significant changes
2020-07-08 06:16:20 +03:00
Nikolai Kochetov
8587c2025d
Merge branch 'master' into initial-explain
2020-06-29 23:35:56 +03:00
Nikolai Kochetov
40b398c8c4
Merge branch 'master' into better-distinct-for-query-plan
2020-06-29 11:14:05 +03:00
Nikolai Kochetov
893a75bcf7
Merge branch 'master' into initial-explain
2020-06-27 12:45:40 +03:00
Nikolai Kochetov
ca01094f4b
More actions description.
2020-06-27 12:31:11 +03:00
Artem Zuikov
54fd9ce76b
fix totals
2020-06-26 03:23:11 +03:00
Artem Zuikov
2d7d389b77
better ExpressionAction::execute()
2020-06-25 23:28:41 +03:00
Artem Zuikov
bfe30a9723
remove a trick with expression continuation
2020-06-25 22:26:03 +03:00
Nikolai Kochetov
d7d334bf6f
Update query plan traits for DISTINCT. Add more comments.
2020-06-22 13:18:28 +03:00
alesapin
b9e74f4e82
Merge branch 'master' into atomic_metadata5
2020-06-22 12:03:53 +03:00
Nikolai Kochetov
4d70cc34c1
Merge branch 'master' into query-plan
2020-06-20 10:53:48 +03:00
alesapin
a462462610
Merge branch 'master' into atomic_metadata5
2020-06-19 18:58:42 +03:00
Nikolai Kochetov
690b88d331
Merge pull request #11291 from Provet/master
...
Partial sorting optimization fix
2020-06-19 12:58:44 +03:00
Nikolai Kochetov
cda4de40d7
Merge branch 'master' into query-plan
2020-06-19 11:29:15 +03:00
Nikolai Kochetov
c111836ada
Update PartialSortingTransform.
2020-06-18 12:08:25 +03:00
alesapin
ebb36bec8a
Merge branch 'master' into atomic_metadata5
2020-06-18 11:57:16 +03:00
alexey-milovidov
c9924b8aa1
Merge pull request #11697 from CurtizJ/fix-with-fill
...
Fix 'ORDER BY ... WITH FILL' over const columns.
2020-06-18 06:38:24 +03:00
Nikolai Kochetov
38bebfb20d
Merge remote-tracking branch 'origin' into provert-master
2020-06-17 22:05:45 +03:00
Nikolai Kochetov
c5d9379df0
Add TotalsHavingStep.
2020-06-17 19:54:51 +03:00
Nikolai Kochetov
ce7c8782e2
Update PartialSortingTransform.cpp
2020-06-17 19:13:44 +03:00
Nikolai Kochetov
1ad4f2c0fd
Add CreatingSets step.
2020-06-17 18:50:21 +03:00
Nikolai Kochetov
6c477d06ad
Review fixes.
2020-06-17 14:43:55 +03:00
alesapin
2fac3290f0
Merge branch 'master' into atomic_metadata5
2020-06-17 11:14:03 +03:00
Artem Zuikov
857d84bf7c
Buffer left blocks optimisation for MergeJoin ( #10601 )
2020-06-16 23:13:18 +03:00
Anton Popov
03058c3c25
fix 'ORDER BY WITH FILL' over const columns
2020-06-16 05:56:16 +03:00
Nikolai Kochetov
03e0a5ddbc
Merge branch 'master' into query-plan
2020-06-15 23:38:35 +03:00
alesapin
36ba0192df
Metadata in read and write methods of IStorage
2020-06-15 22:08:58 +03:00
Nikolai Kochetov
b725df6366
Added ReadFromStorageStep.
2020-06-15 18:17:44 +03:00
Dmitry
e5897bbfb6
size_t -> ssize_t
2020-06-12 18:59:11 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
...
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
Albert Kidrachev
60b86f524f
add perf-test and fix
2020-06-04 20:10:52 +03:00
Albert Kidrachev
ae7bad368b
run optimization for limit >= 1500 and hint for comparing ColumnString
2020-06-04 01:50:58 +03:00
Anton Popov
5348e5a746
Fix build
2020-06-04 00:58:51 +03:00
Alexander Kuzmenkov
8bf8b44510
Merge pull request #11366 from ClickHouse/fix-SortingTransform-bug
...
Fix sorting transform bug
2020-06-03 12:11:57 +03:00
Dmitry
5391d26703
better logging
2020-06-02 23:38:10 +03:00
Nikolai Kochetov
46493b9878
Fix PartialSortingTransform.
2020-06-02 14:56:58 +03:00
Nikolai Kochetov
ecdbd888cf
Clase all inputs in SortingTransform.
2020-06-02 13:50:27 +03:00
Nikolai Kochetov
cc3abb12d3
Disable filtration for PartialSortingTransform
2020-06-02 11:28:57 +03:00
Nikolai Kochetov
fded020cdc
Fix build.
2020-06-02 10:53:55 +03:00
Albert Kidrachev
d717919c0c
some improvements of vectorization compare
2020-06-02 03:23:41 +03:00
Nikolai Kochetov
53d12f5ab8
Try fix build.
2020-06-01 20:06:21 +03:00
Nikolai Kochetov
3a0acb00c1
Remove some streams.
2020-06-01 19:31:06 +03:00
Albert Kidrachev
02611de051
merge
2020-06-01 15:11:36 +03:00
Albert Kidrachev
fe170508bd
devirtualize compareAt calls
2020-06-01 15:10:32 +03:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
Nikolai Kochetov
f7e0e87c7d
Try fix tests.
2020-05-29 19:35:09 +03:00
Albert Kidrachev
c91ca6fd4b
fix optimization, add comments and performance test
2020-05-29 04:50:02 +03:00
Albert Kidrachev
c38caafe93
fix tests
2020-05-28 11:55:20 +03:00
Albert Kidrachev
fedf1f5dd2
more relaxation
2020-05-28 11:55:20 +03:00
Albert Kidrachev
e24e6257c7
fix
2020-05-28 11:55:20 +03:00
Albert Kidrachev
e51e828d5c
init
2020-05-28 11:55:20 +03:00
Albert Kidrachev
4c5324600b
fix tests
2020-05-27 18:38:29 +03:00
Albert Kidrachev
a727e1fb1b
more relaxation
2020-05-27 15:57:14 +03:00
Albert Kidrachev
d24286d5da
fix
2020-05-27 14:52:45 +03:00
Dmitry
112e86b134
small fix
2020-05-26 22:20:02 +03:00
Dmitry
38c585f867
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-26 21:27:50 +03:00
Albert Kidrachev
96260cf33a
init
2020-05-25 02:56:24 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
bab24879e9
Progress on task
2020-05-24 00:16:05 +03:00
Alexey Milovidov
d2621fee30
Progress on task
2020-05-23 23:57:48 +03:00