Nikolai Kochetov
|
8535ba9e47
|
Review fixes.
|
2019-08-19 21:23:37 +03:00 |
|
Nikolai Kochetov
|
04c17c56c2
|
Review fixes.
|
2019-08-19 21:10:40 +03:00 |
|
Nikolai Kochetov
|
29f4f83c39
|
Fix build.
|
2019-08-16 15:54:50 +03:00 |
|
Nikolai Kochetov
|
7da72261a2
|
Merge branch 'master' into try-to-remove-dry-run
|
2019-08-16 15:50:48 +03:00 |
|
alexey-milovidov
|
a466c7aebd
|
Merge pull request #6299 from CurtizJ/order-by-efficient
Optimizations of ranges selection while reading with enabled optimize_read_in_order.
|
2019-08-16 02:39:53 +03:00 |
|
CurtizJ
|
6ef3b5f9c7
|
fix usage of global syntax_result in optimizeReadInOrder
|
2019-08-15 13:15:04 +03:00 |
|
Nikolai Kochetov
|
90cb316457
|
Added more comments. Fix operator== in ExpressionActions.
|
2019-08-15 12:51:53 +03:00 |
|
Nikolai Kochetov
|
09dfc26087
|
Remove _dummy column at InterpreterSelectQuery::unifyStreams.
|
2019-08-15 11:50:17 +03:00 |
|
chertus
|
7c566f317c
|
refactoring: extract SelectQueryExpressionAnalyzer from ExpressionAnalyzer
|
2019-08-14 22:30:30 +03:00 |
|
CurtizJ
|
0b3d7d8032
|
Merge remote-tracking branch 'upstream/master' into order-by-efficient
|
2019-08-14 21:26:25 +03:00 |
|
CurtizJ
|
eb3a3f44d0
|
better avoiding of array join in optimizeReadInOrder
|
2019-08-14 19:15:03 +03:00 |
|
Nikolai Kochetov
|
b323f08907
|
Fix build.
|
2019-08-14 18:23:57 +03:00 |
|
Nikolai Kochetov
|
287eb633b8
|
Merged with master
|
2019-08-14 18:16:52 +03:00 |
|
Nikolai Kochetov
|
b5c9be75c4
|
Materialize constant keys in header.
|
2019-08-14 18:14:32 +03:00 |
|
Nikolai Kochetov
|
0635188104
|
Allow constants for RemoteBlockInputStream.
|
2019-08-14 18:14:32 +03:00 |
|
Nikolai Kochetov
|
e10f198d72
|
Fix build.
|
2019-08-14 18:14:32 +03:00 |
|
CurtizJ
|
d44d2d1731
|
rewrite trash code in optimizeReadInOrder and disable read in order optimization with joins
|
2019-08-14 15:29:21 +03:00 |
|
CurtizJ
|
94bca8315d
|
Merge remote-tracking branch 'upstream/master' into order-by-efficient
|
2019-08-14 01:41:38 +03:00 |
|
chertus
|
15d2561ac8
|
more ExpressionAnalyzer refactoring
|
2019-08-12 22:27:09 +03:00 |
|
alexey-milovidov
|
8520288044
|
Merge pull request #6416 from 4ertus2/some
Refactoring: move collectUsedColumns() to SyntaxAnalyzer
|
2019-08-11 05:16:22 +03:00 |
|
alexey-milovidov
|
838c5e535f
|
Merge pull request #6433 from yandex/prevent-stack-overflow-in-parser
Fixed possible stack overflow in parser
|
2019-08-10 23:58:54 +03:00 |
|
Alexey Milovidov
|
afef5c6c70
|
Added stack protection; added a test
|
2019-08-10 20:51:47 +03:00 |
|
kreuzerkrieg
|
112fc71276
|
adding -Wshadow for GCC
|
2019-08-09 23:58:16 +03:00 |
|
Nikolai Kochetov
|
9bd949fff5
|
Convert streams structure to sample block in InterpreterSelectQuery.
|
2019-08-09 17:57:15 +03:00 |
|
chertus
|
e06c994b0e
|
refactoring: move collectUsedColumns from ExpressionAnalyzer to SyntaxAnalyzer
|
2019-08-09 17:50:04 +03:00 |
|
Nikolai Kochetov
|
78516083ac
|
Remove dry_run flag from InterpreterSelectQuery::executeImpl.
|
2019-08-09 16:42:58 +03:00 |
|
Nikolai Kochetov
|
a1023bebff
|
Fix tests.
|
2019-08-09 16:37:42 +03:00 |
|
Nikolai Kochetov
|
9ac401573f
|
Added InterpreterSelectQuery::getSampleBlockImpl. Disable dry_run.
|
2019-08-08 18:18:28 +03:00 |
|
Nikolai Kochetov
|
42c2833932
|
Added function which calculates header for execution step (InterpreterSelectQuery::getHeaderForExecutionStep). Removed InterpreterSelectQuery:;getSampleBlock from StorageDistributed and StorageMerge.
|
2019-08-07 16:41:36 +03:00 |
|
Nikolai Kochetov
|
e73ea8a131
|
Make InterpreterSelectQuery::analyzeExpressions static.
|
2019-08-06 16:00:56 +03:00 |
|
CurtizJ
|
cfe32ad89b
|
Merge remote-tracking branch 'upstream/master' into order-by-efficient
|
2019-08-04 21:43:00 +03:00 |
|
Alexey Milovidov
|
8b85e09f06
|
Removed useless includes
|
2019-08-04 03:34:43 +03:00 |
|
Alexey Milovidov
|
8b8c59d71b
|
Simplification of #3796
|
2019-08-04 03:29:32 +03:00 |
|
Alexey Milovidov
|
224bc4df97
|
Minor modifications + a comment #3796
|
2019-08-04 03:12:17 +03:00 |
|
alexey-milovidov
|
b045e85469
|
Merge pull request #3796 from amosbird/hang
Fix materialized view with column defaults.
|
2019-08-04 03:06:40 +03:00 |
|
CurtizJ
|
e06a53a5d9
|
fix ranges selection at reading in order
|
2019-08-02 20:34:29 +03:00 |
|
CurtizJ
|
5f7ebb18ed
|
more optimal ranges selection at reading in order
|
2019-08-02 19:16:18 +03:00 |
|
Amos Bird
|
6db1c02bfd
|
Fix materialized view with column defaults.
https://github.com/yandex/ClickHouse/issues/448
https://github.com/yandex/ClickHouse/issues/3484
https://github.com/yandex/ClickHouse/issues/3450
https://github.com/yandex/ClickHouse/issues/2878
https://github.com/yandex/ClickHouse/issues/2285
|
2019-07-30 10:49:54 +08:00 |
|
CurtizJ
|
d69d68f065
|
rename setting 'optimize_pk_order' and some functions
|
2019-07-28 04:16:56 +03:00 |
|
CurtizJ
|
60289cd764
|
fix optimizeSortingWithPK
|
2019-07-27 03:15:22 +03:00 |
|
CurtizJ
|
cb85721cba
|
handle ExpressionAnalyzer exceptions, while trying to optimize order by, in case of complicated queries
|
2019-07-27 03:02:04 +03:00 |
|
CurtizJ
|
b1d981ec3a
|
better pipeline while reading in pk_order
|
2019-07-27 01:18:27 +03:00 |
|
CurtizJ
|
b1cc019bd4
|
fix pipeline
|
2019-07-25 14:00:14 +03:00 |
|
CurtizJ
|
f5b93eb991
|
fix order by optimization
|
2019-07-25 13:45:01 +03:00 |
|
CurtizJ
|
3d706ec20e
|
support 'order by' optimiation with simple monotonic functions
|
2019-07-24 17:23:57 +03:00 |
|
CurtizJ
|
2797c16930
|
fix prewhere at fetching columns
|
2019-07-19 13:14:27 +03:00 |
|
CurtizJ
|
b9dc472071
|
Merge remote-tracking branch 'upstream/master' into order-by-efficient
|
2019-07-19 01:09:59 +03:00 |
|
CurtizJ
|
a3d25790bd
|
basic implementation of reading in pk order and 'order by' optimization
|
2019-07-18 17:41:11 +03:00 |
|
CurtizJ
|
410b62f7fa
|
Merge branch 'clickhouse-4013' of https://github.com/anrodigina/ClickHouse into order-by-efficient
|
2019-07-05 13:48:04 +03:00 |
|
Nikolai Kochetov
|
f9b29bfdd2
|
Merged with master.
|
2019-06-25 20:00:54 +03:00 |
|