Commit Graph

87 Commits

Author SHA1 Message Date
Nikita Vasilev
449e11f1ea settings 2021-05-04 22:18:37 +03:00
Nikita Vasilev
496d8ff46c improvements 2021-05-04 21:43:58 +03:00
Nikita Vasilev
0ec2726bf3 Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations 2021-04-26 17:33:32 +03:00
Nikita Vasilev
e362383b7c swap columns 2021-04-24 18:24: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
Nikita Vasilev
02090bf59a Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations 2021-03-27 13:03:55 +03:00
Maksim Kita
849a980644 Updated ExternalDictionariesLoader interface with context parameter 2021-03-20 18:02:09 +03:00
Maksim Kita
32831e37ba Added table function dictionary 2021-03-19 15:47:27 +03:00
Nikita Vasilev
728c9ccb6d Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations 2021-03-05 19:17:01 +03:00
Nikita Vasilev
7b2d8e1094 more clones 2021-02-14 17:47:15 +03:00
Amos Bird
565a148da9
Normalize count() variants 2021-02-10 12:48:41 +08:00
flynn
e75b116466
Rewrite sum(if()) and sumIf to countIf in special cases (#17041)
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00
Nikita Vasilev
7e23baa1e3 fix nullptr 2021-01-06 23:04:49 +03:00
Nikita Vasilev
10fecb9183 more optimization 2021-01-05 23:51:19 +03:00
Nikita Vasilev
92e4f1370e CNF 2021-01-04 23:55:32 +03:00
Nikita Vasilev
4c3e83ac57 fix 2021-01-03 18:02:00 +03:00
Nikita Vasilev
1d5b62cc18 add simple optimization 2021-01-03 13:24:09 +03:00
alexey-milovidov
038a56d243
Merge pull request #16951 from CurtizJ/fix-groupby-optimization
Fix optimization with 'optimize_aggregators_of_group_by_keys' and joins
2020-11-29 20:47:16 +03:00
Anton Popov
6f54cc99d6 fix clang-tidy 2020-11-13 19:30:10 +03:00
Anton Popov
a03b6df897 fix order by optimization with monotonous functions 2020-11-13 02:58:33 +03:00
Anton Popov
f12923313d fix clang-tidy 2020-11-13 00:01:53 +03:00
Anton Popov
7990c8cbad fix optimization with 'optimize_aggregators_of_group_by_keys' and joins 2020-11-12 22:50:01 +03:00
Anton Popov
ab4c43cb81 fix group by with totals/rollup/cube modifers and min/max functions over group by keys 2020-10-26 16:48:11 +03:00
alexey-milovidov
56e7e6ed62
Merge pull request #15886 from zhang2014/fix/ISSUES-12513
ISSUES-12513 fix difference expressions with same alias when analyze queries again
2020-10-14 00:55:11 +03:00
zhang2014
d79d0127ad ISSUES-12513 try fix difference expressions with same alias 2020-10-13 13:30:56 +08:00
Nikolai Kochetov
a7fb2e38a5 Use ColumnWithTypeAndName as function argument instead of Block. 2020-10-09 10:41:28 +03:00
Artem Zuikov
0f49291733 make clang tidy happy 2020-08-21 01:05:06 +03:00
Artem Zuikov
13bb3774ff update tests 2020-08-20 23:50:53 +03:00
Artem Zuikov
f99622be33 minor fix 2020-08-20 22:04:46 +03:00
Artem Zuikov
f4e84d93ba fix indirect distinct with less columns 2020-08-20 21:51:22 +03:00
Artem Zuikov
9f5538c14d fix crash in case of no tables in select 2020-08-20 21:09:48 +03:00
Artem Zuikov
911e6efe3e rewrite duplicate distinct optimization 2020-08-20 20:04:42 +03:00
Alexey Milovidov
12f66fa82c Fix 99% of typos 2020-08-08 04:01:47 +03:00
Alexander Tokmakov
6bfe88e83f Merge branch 'master' into database_atomic_improvements 2020-07-26 13:40:05 +03:00
Artem Zuikov
2041d7d0d8
Fix move_functions_out_of_any optimisation with lambda (#12664) 2020-07-23 18:15:22 +03:00
Alexander Tokmakov
237accd154 Merge branch 'master' into database_atomic_improvements 2020-07-23 06:33:20 +03:00
Artem Zuikov
2afd123eda
Refactoring: extract TreeOptimizer from SyntaxAnalyzer (#12645) 2020-07-22 20:13:05 +03:00