Commit Graph

31 Commits

Author SHA1 Message Date
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr 2021-06-12 03:25:09 +03:00
Nikolai Kochetov
dbaa6ffc62 Rename ContextConstPtr to ContextPtr. 2021-06-01 15:20:52 +03:00
Anton Popov
b24f65e1ad Merge remote-tracking branch 'upstream/master' into HEAD 2021-05-31 23:04:52 +03:00
Alexander Kuzmenkov
3f57fc085b remove mutable context references from functions interface
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Anton Popov
75adbd8e23 optimize some functions to subcolumns 2021-05-22 02:22:22 +03:00
Anton Popov
13cfedd188 optimize some functions to subcolumns 2021-05-21 21:48:19 +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
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
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
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