Nikolai Kochetov
e73ea8a131
Make InterpreterSelectQuery::analyzeExpressions static.
2019-08-06 16:00:56 +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
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
Nikolai Kochetov
b2a3835195
Unify streams for SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
821d520a52
Fix limit by offset.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
96174e90b0
Fix build.
2019-06-25 19:41:00 +03:00
alexey-milovidov
606b074a4b
Merge pull request #5659 from yandex/ignore-mutation-limits
...
Ignore query execution limits and limits for max parts size for merge while executing mutations.
2019-06-21 02:14:41 +03:00
CurtizJ
6d9cbc6f28
ignore query limits from system profile while executing mutations
2019-06-14 22:27:53 +03:00
Alexey Milovidov
c846d0f6af
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*.*$/}/'
2019-06-13 13:43:37 +03:00
Anastasiya Rodigina
4ff02cff4d
Fix some problems with tests, add more tests, more syntetic tests are coming today
2019-06-03 06:00:54 +00:00
Anastasiya Rodigina
6c779e63b0
Edit reverse order
2019-05-25 14:09:23 +03:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
Anastasiya Rodigina
c8d4952702
Fix test with order by and final, need to think about it
2019-05-18 21:13:18 +03:00
Anastasiya Rodigina
b3d811a199
Fix some tests
2019-05-18 19:46:29 +03:00
Anastasiya Rodigina
63a56f4bd9
Fix tests with group by
2019-05-18 15:54:04 +03:00
Nikolai Kochetov
808d0f3b08
Merged with master.
2019-05-14 13:31:19 +03:00
Anastasiya Rodigina
af4fff970b
Revert "Changes in read in pk_order, UnionBlockInputStream and InterpreterSelectQuery"
...
This reverts commit 61d49e1e5f
.
2019-05-10 23:22:45 +03:00
Anastasiya Rodigina
61d49e1e5f
Changes in read in pk_order, UnionBlockInputStream and InterpreterSelectQuery
2019-05-10 22:09:15 +03:00
Anastasiya Rodigina
23a8efe367
Fix tests and change pipeline
2019-05-09 18:44:51 +03:00
alexey-milovidov
e1158f53ad
Update InterpreterSelectQuery.cpp
2019-05-05 23:29:17 +03:00
alexey-milovidov
125fce3303
Update InterpreterSelectQuery.cpp
2019-05-05 23:27:03 +03:00
alexey-milovidov
c04c614bc0
Merge branch 'master' into clickhouse-4013
2019-05-05 23:22:45 +03:00
Alexey Milovidov
a6ca9f266f
Removed huge chunk of bad code
2019-05-03 05:00:57 +03:00
Nikolai Kochetov
b8adb0937f
Do not create processors for totals stream.
2019-04-30 20:37:30 +03:00
Nikolai Kochetov
43adf33ec2
Do not create processors for totals stream.
2019-04-30 20:30:19 +03:00
Nikolai Kochetov
f170e55ebd
Do not create processors for totals stream.
2019-04-30 20:20:34 +03:00
Nikolai Kochetov
1410d1a1ae
Do not create processors for totals stream.
2019-04-30 20:06:41 +03:00
Nikolai Kochetov
728e8dfc26
Do not create processors for totals stream.
2019-04-30 20:04:31 +03:00
Nikolai Kochetov
72c0530845
Do not create processors for totals stream.
2019-04-30 20:01:12 +03:00
CurtizJ
7766f5c0c3
added offset for limit by
2019-04-29 16:12:39 +03:00
Nikolai Kochetov
0b8107c497
Fix totals with rollup.
2019-04-29 13:00:17 +03:00
Anastasiya Rodigina
e750755f8f
Add comments and edit style
2019-04-27 14:59:08 +03:00
Anastasiya Rodigina
747d2e0d3a
Change pipeline + add optimize stuff into Settings.h
2019-04-27 12:39:03 +03:00
Nikolai Kochetov
745beb6080
Fix rollup and cube transforms.
2019-04-18 15:43:13 +03:00
Ivan
118bea2be6
Enable predicate push-down optimization by default. ( #4846 )
...
* Enable predicate push-down optimization by default.
* Forbid push-downs for some JOIN cases.
* Fix existing tests
* Forbid optimization if a select query has ARRAY JOIN on any side.
2019-04-18 13:39:25 +03:00