Amos Bird
|
479d4fa991
|
Add shardNum() and shardCount() functions
|
2021-07-31 15:45:39 +08:00 |
|
Nikolai Kochetov
|
61d8f880cd
|
Rename some files.
|
2021-07-26 19:48:25 +03:00 |
|
Amos Bird
|
dbfb699690
|
Asynchronously drain connections.
|
2021-07-19 21:53:29 +08:00 |
|
mergify[bot]
|
89634ae224
|
Merge branch 'master' into estimates_for_select_query
|
2021-07-16 23:15:30 +00:00 |
|
alexey-milovidov
|
149c5a0e9b
|
Merge pull request #26381 from ClickHouse/separate-step-for-distributed
Add separate step to read from remote.
|
2021-07-17 01:29:43 +03:00 |
|
Anton Popov
|
03c785931a
|
fix pushdown of limit to reading stage
|
2021-07-16 17:27:38 +03:00 |
|
Anton Popov
|
c45a9e3bd6
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2021-07-16 17:11:34 +03:00 |
|
Nikolai Kochetov
|
a30b0eb542
|
Fix style.
|
2021-07-16 14:33:01 +03:00 |
|
Nikolai Kochetov
|
b31a4151de
|
Fix build.
|
2021-07-16 14:30:07 +03:00 |
|
Nikolai Kochetov
|
d3099e0c89
|
Fix build and add comment.
|
2021-07-16 13:56:13 +03:00 |
|
Nikolai Kochetov
|
f36d14f68f
|
Add separate step to read from remote.
|
2021-07-15 19:15:16 +03:00 |
|
alexey-milovidov
|
0893b9ff8e
|
Merge pull request #26218 from amosbird/projection-improve1
Aggressive IN index analysis for projections.
|
2021-07-15 08:13:45 +03:00 |
|
Amos Bird
|
28b567a01b
|
Update
|
2021-07-14 23:09:17 +08:00 |
|
alexey-milovidov
|
f20a3c596a
|
Update ReadFromMergeTree.cpp
|
2021-07-14 22:56:52 +08:00 |
|
Amos Bird
|
0558ecdc3f
|
Aggressive IN index analysis for projections.
|
2021-07-14 22:56:52 +08:00 |
|
vdimir
|
b49e37aa07
|
Rewrite join totals, fix block structure mismatch
|
2021-07-14 13:02:23 +03:00 |
|
Peng Jian
|
8522589483
|
Collect the amount of parts, rows and marks during the build query pipeline
|
2021-07-13 22:50:47 +08:00 |
|
Anton Popov
|
cb042afa9d
|
pushdown limit while reading in order of primary key
|
2021-07-13 17:24:45 +03:00 |
|
Anton Popov
|
19d0f1bbfc
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2021-07-13 16:12:08 +03:00 |
|
mergify[bot]
|
b7ae4e4ced
|
Merge branch 'master' into async-insert
|
2021-07-12 09:21:37 +00:00 |
|
Alexey Milovidov
|
9c0097cd9b
|
Review fixes
|
2021-07-11 02:14:03 +03:00 |
|
Peng Jian
|
fb793696a1
|
Add bytes to result of EXPLAIN ESTIMATES
|
2021-07-09 19:17:03 +08:00 |
|
Peng Jian
|
b526aacd56
|
Show estimates for SELECT query
|
2021-07-09 18:29:45 +08:00 |
|
Ivan Lezhankin
|
1bb41593d1
|
Merge remote-tracking branch 'upstream/master' into async-insert
|
2021-06-28 22:55:56 +03:00 |
|
Anton Popov
|
fa8ad1a7c6
|
reduce memory usage in queries with 'ORDER BY primary_key'
|
2021-06-25 19:23:41 +03:00 |
|
Nikolai Kochetov
|
3544b059ce
|
Merge branch 'master' into remove-PrewhereDAGInfo
|
2021-06-25 17:52:03 +03:00 |
|
Nikolai Kochetov
|
6bc0a628cd
|
Remove PrewhereDAGInfo.
|
2021-06-25 17:49:28 +03:00 |
|
Anton Popov
|
447fef702d
|
fix fuzzer in query with 'WITH FILL' and 'WITH TOTALS'
|
2021-06-22 16:08:12 +03:00 |
|
Anton Popov
|
82f0a5f2dd
|
fix usage of WITH FILL together with WITH TOTALS
|
2021-06-21 14:43:38 +03:00 |
|
Kirill Ershov
|
1d46e443e2
|
Fix INTERSECT/EXCEPT parser
|
2021-06-05 03:58:22 +03:00 |
|
Ivan Lezhankin
|
774107738c
|
Fix build
|
2021-06-02 19:52:33 +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
|
b54ff696e5
|
Merge branch 'master' into refactor-MergeTreeDataSelectExecutor
|
2021-06-01 12:08:37 +03:00 |
|
Nikolai Kochetov
|
b9aa404508
|
Review fixes.
|
2021-05-31 21:25:43 +03:00 |
|
Nikolai Kochetov
|
afc1fe7f3d
|
Make ContextPtr const by default.
|
2021-05-31 17:49:02 +03:00 |
|
Kirill Ershov
|
42f6314c9a
|
Add INTERSECT and EXCEPT
|
2021-05-29 22:51:58 +03:00 |
|
Kirill Ershov
|
3f9e9a7025
|
Add INTERSECT and EXCEPT
|
2021-05-29 22:41:46 +03:00 |
|
Nikolai Kochetov
|
58fbc544cc
|
Add more comments.
|
2021-05-28 20:16:09 +03:00 |
|
Nikolai Kochetov
|
295a302bc8
|
Remove settings from ReadFromMergeTree.
|
2021-05-28 17:34:02 +03:00 |
|
Nikolai Kochetov
|
91e8c2c75d
|
Remove MergingFinal step.
|
2021-05-28 12:52:33 +03:00 |
|
Nikolai Kochetov
|
94f1ac5a16
|
Remove some commented code.
|
2021-05-28 12:41:07 +03:00 |
|
Nikolai Kochetov
|
c80ab6166a
|
Fix style.
|
2021-05-28 12:26:44 +03:00 |
|
Nikolai Kochetov
|
4e28b7cb02
|
Fix _sample_factor column.
|
2021-05-28 12:23:46 +03:00 |
|
Nikolai Kochetov
|
ce11f35dcc
|
Convert header from MergeTree to expected from query plan.
|
2021-05-28 11:11:17 +03:00 |
|
Nikolai Kochetov
|
1aeb705b20
|
Fix some tests.
|
2021-05-27 19:53:58 +03:00 |
|
Nikolai Kochetov
|
cbdf3752ef
|
Part 3.
|
2021-05-27 16:40:33 +03:00 |
|
Nikolai Kochetov
|
a51a6ea0b7
|
Part 2.
|
2021-05-26 21:14:43 +03:00 |
|
Nikolai Kochetov
|
34eaa48294
|
Part 1.
|
2021-05-25 19:34:43 +03:00 |
|
Nikolai Kochetov
|
79a0029843
|
Fix header mismatch for UNION.
|
2021-05-24 21:09:00 +03:00 |
|
Maksim Kita
|
c50909468f
|
Updated ExpressionActionSettings
|
2021-05-19 17:32:07 +03:00 |
|
Maksim Kita
|
150a88d647
|
ExpressionActions compile only necessary places
|
2021-05-19 11:43:16 +03:00 |
|
Nikolai Kochetov
|
d78be51fb4
|
Calculate header for ActionsDAG
|
2021-05-13 16:38:18 +03:00 |
|
Kruglov Pavel
|
49e7ed6e60
|
Merge pull request #23673 from amosbird/partitionvalue
Add _partition_value virtual column
|
2021-05-11 11:23:00 +03:00 |
|
Alexey Milovidov
|
ad88819ee4
|
Fix a bunch of warnings from PVS-Studio
|
2021-05-08 19:13:10 +03:00 |
|
Alexey Milovidov
|
3025f9e141
|
More fixes for PVS-Studio
|
2021-05-08 19:12:49 +03:00 |
|
Nikolai Kochetov
|
6b79403cb5
|
Rename and fix fuild.
|
2021-04-30 11:25:39 +03:00 |
|
Nikolai Kochetov
|
25dc72eda7
|
Add comments.
|
2021-04-29 20:51:35 +03:00 |
|
Nikolai Kochetov
|
b500c420b9
|
Fix build and style.
|
2021-04-29 17:14:23 +03:00 |
|
Nikolai Kochetov
|
c4e8288ce0
|
Fix style.
|
2021-04-29 13:03:55 +03:00 |
|
Nikolai Kochetov
|
a179124f17
|
Fix build
|
2021-04-29 12:59:38 +03:00 |
|
Nikolai Kochetov
|
1f5a0f8842
|
Merge branch 'master' into refactor-join-step
|
2021-04-29 12:23:36 +03:00 |
|
Nikolai Kochetov
|
25fe5f63ee
|
Fix other tests.
|
2021-04-29 12:08:49 +03:00 |
|
Nikolai Kochetov
|
69ddca1d73
|
Refactor join step, part 3
|
2021-04-28 20:32:12 +03:00 |
|
Nikolai Kochetov
|
c508868570
|
Merge pull request #23082 from ClickHouse/explain-output
JSON output for EXPLAIN
|
2021-04-28 15:39:06 +03:00 |
|
Nikolai Kochetov
|
3a25e46a8f
|
Refactor join step, part 2
|
2021-04-27 20:30:33 +03:00 |
|
Amos Bird
|
8a3b5c1fab
|
Add _partition_value virtual column
|
2021-04-27 16:15:59 +08:00 |
|
Alexander Kuzmenkov
|
06ca44a378
|
fix pvs warnings
|
2021-04-22 22:54:58 +03:00 |
|
Ivan Lezhankin
|
ee194928d2
|
CC
|
2021-04-21 16:19:28 +03:00 |
|
Nikolai Kochetov
|
6b264933b2
|
Fix style.
|
2021-04-20 17:51:48 +03:00 |
|
Nikolai Kochetov
|
9632b83bdf
|
Support explain json = 1, indexes = 1. Added test.
|
2021-04-20 16:39:23 +03:00 |
|
Nikolai Kochetov
|
8c2d58333a
|
Merge branch 'master' into explain-output
|
2021-04-19 17:40:27 +03:00 |
|
Nikolai Kochetov
|
4d86f51eff
|
Merge branch 'master' into add-read-from-mt-step
|
2021-04-19 10:17:21 +03:00 |
|
Nikolai Kochetov
|
1bf420cbcf
|
Update json description for other steps.
|
2021-04-16 19:36:59 +03:00 |
|
Nikolai Kochetov
|
d5882620b2
|
Fix condition
|
2021-04-16 14:33:20 +03:00 |
|
Nikolai Kochetov
|
23089a2fec
|
Add special setting to show indexes.
|
2021-04-16 14:11:45 +03:00 |
|
Nikolai Kochetov
|
8d8e57615c
|
A little bit better index description.
|
2021-04-16 12:42:23 +03:00 |
|
Nikolai Kochetov
|
be52b2889a
|
Better description for key condition.
|
2021-04-15 20:30:04 +03:00 |
|
Nikolai Kochetov
|
9b86c19836
|
Use JSONBuilder for explain json result.
|
2021-04-14 17:07:56 +03:00 |
|
Nikolai Kochetov
|
d1d2b89a51
|
Use setting for explain json
|
2021-04-13 10:51:55 +03:00 |
|
Nikolai Kochetov
|
f6d86d6032
|
Merge branch 'master' into add-read-from-mt-step
|
2021-04-12 15:23:32 +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 |
|
Nikolai Kochetov
|
48bcd5b490
|
Add tree conversion for expression.
|
2021-04-09 19:18:45 +03:00 |
|
Nikolai Kochetov
|
66b6d53a93
|
Add json=1 setting for explain actions
|
2021-04-09 17:44:58 +03:00 |
|
Nikolai Kochetov
|
d0b5615641
|
Add comments.
|
2021-04-09 12:35:21 +03:00 |
|
Nikolai Kochetov
|
28ca191102
|
Merge pull request #22087 from ClickHouse/better-filter-push-down
Better filter push down
|
2021-04-09 10:22:17 +03:00 |
|
Nikolai Kochetov
|
3426bc3906
|
Merge pull request #22763 from CurtizJ/fix-having-push-down
Fix pushdown of having
|
2021-04-08 21:53:50 +03:00 |
|
Nikolai Kochetov
|
794d7c89b6
|
Remove ReverseRowsStep
|
2021-04-08 16:18:17 +03:00 |
|
Nikolai Kochetov
|
febb187da0
|
Added test,
|
2021-04-08 15:54:27 +03:00 |
|
Nikolai Kochetov
|
7ffbeac9df
|
Add info about indexes to ReadFromMergeTree step.
|
2021-04-08 14:48:54 +03:00 |
|
Nikolai Kochetov
|
118090396f
|
Filter column after filter push down now always the first one..
|
2021-04-08 12:54:39 +03:00 |
|
Nikolai Kochetov
|
7c5a9133df
|
Add index info to ReadFromStorageStep.
|
2021-04-08 11:19:04 +03:00 |
|
Anton Popov
|
fa9a19cbdd
|
fix pushdown of having
|
2021-04-07 17:02:59 +03:00 |
|
Alexander Kuzmenkov
|
585da2c8d0
|
Merge remote-tracking branch 'origin/master' into HEAD
|
2021-04-06 14:58:21 +03:00 |
|
Alexander Kuzmenkov
|
06e7a9f8f2
|
fix window functions with multiple input streams and no sorting
|
2021-04-06 14:43:27 +03:00 |
|
Nikolai Kochetov
|
6102652c99
|
Merge branch 'master' into better-filter-push-down
|
2021-04-06 13:38:03 +03:00 |
|
Nikolai Kochetov
|
44700d97e9
|
Add setting to disable query plan optimization. Fix perftest.
|
2021-04-06 11:25:54 +03:00 |
|
Anton Popov
|
88cd775f6a
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2021-04-02 00:14:03 +03:00 |
|
Nikolai Kochetov
|
8fad179800
|
Fix some tests.
|
2021-03-30 18:14:20 +03:00 |
|
Nikolai Kochetov
|
88bfa6c9ba
|
Add ReadFromMergeTree step.
|
2021-03-30 13:25:26 +03:00 |
|