taiyang-li
d2e97fb94d
remove columnar impl when instructions contains short
2023-01-31 18:13:01 +08:00
taiyang-li
2d7c357d61
implement columnar version for multiIf when instructions contains short
2023-01-31 18:00:31 +08:00
taiyang-li
c45111349f
Merge branch 'master' into improve_multi_if
2023-01-30 16:32:55 +08:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
taiyang-li
54d2ae4a78
add some debug logs
2023-01-17 14:44:33 +08:00
taiyang-li
d23e456f9e
remove no_inline
2023-01-17 11:41:49 +08:00
taiyang-li
9d2844e689
last optimization: convert memcpy to assign operation of fixed type T
2023-01-17 11:40:06 +08:00
taiyang-li
3b4ac825ba
another optimization: adjuest type of inserts according to the size of instructions, which makes more parallalism
2023-01-17 11:27:28 +08:00
taiyang-li
87f869a129
reorder branches
2023-01-16 21:02:33 +08:00
taiyang-li
5b3f9eb62e
vectorize function calculateInserts
2023-01-16 20:35:26 +08:00
taiyang-li
4448bfe8a7
try to improve performance of function multiif
2023-01-16 15:08:12 +08:00
avogar
a7129332af
Don't execute and/or/if/multiIf on LowCardinality dictionary
2022-12-20 22:07:59 +00:00
avogar
47959d6a70
Allow arguments with type Nothing in functions if/multiIf
2022-11-18 14:56:06 +00:00
Li Yin
4088c0a7f3
Automated function registration
...
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
avogar
23f48a9fb9
Fix bug with nested short-circuit functions
2022-06-17 11:44:49 +00:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Maksim Kita
20e4ce3314
Short circuit evaluation function throwIf support
2021-12-20 14:49:05 +03:00
Raúl Marín
01fbd52758
Fix crash with shortcircuit and locardinality in multiIf
2021-10-15 18:52:23 +02:00
Pavel Kruglov
fc59c98676
Clean up
2021-08-13 11:18:34 +03:00
Pavel Kruglov
b841a96c39
Refactor code
2021-08-10 14:31:15 +03:00
Pavel Kruglov
70b51133c1
Try to simplify code
2021-08-09 18:01:08 +03:00
Pavel Kruglov
bff79d7774
Fix special build
2021-08-09 17:57:50 +03:00
Pavel Kruglov
9fd4d14521
Fix style, build, add test
2021-08-09 17:57:50 +03:00
Pavel Kruglov
01bd5cc998
Clean up
2021-08-09 17:57:02 +03:00
Pavel Kruglov
3ec2ab6156
Avoid using expand, fix bugs, add tests and comments
2021-08-09 17:54:49 +03:00
Pavel Kruglov
62d4f4b25c
Small refactoring and adding comments
2021-08-09 17:54:14 +03:00
Pavel Kruglov
7ff11aff2d
Some fixes, more tests
2021-08-09 17:54:14 +03:00
Pavel Kruglov
0662df8b76
Fix performance with JIT, add arguments to function isSuitableForShortCircuitArgumentsExecution
2021-08-09 17:54:14 +03:00
Pavel Kruglov
cdbe4951f4
Add some optimizations and fixes
2021-08-09 17:50:09 +03:00
Pavel Kruglov
e792fa588f
Mark all Functions as sutable or not for executing as short circuit arguments
2021-08-09 17:50:09 +03:00
Pavel Kruglov
400cad4d8b
Refactor, fix bugs, improve performance
2021-08-09 17:44:04 +03:00
Pavel Kruglov
bd415b17d2
Fix bug
2021-08-09 17:43:10 +03:00
Pavel Kruglov
0a32e47b5f
Fix tests
2021-08-09 17:43:10 +03:00
Pavel Kruglov
ae8df9c1c5
Add reverse parameter to filter, fix tests, reduce coping
2021-08-09 17:43:10 +03:00
Pavel Kruglov
775d190fb3
Fix tests
2021-08-09 17:43:10 +03:00
Pavel Kruglov
50d4192126
Implement short circuit function evaluation, first attempt
2021-08-09 17:43:10 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20: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
Maksim Kita
050cb74ed0
Fix compiled if statement
2021-05-08 17:39:35 +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
ec5d541a66
Fixed style issues
2021-01-25 11:08:10 +03:00
Maksim Kita
dac6cceac1
Function multiIf constant result support
2021-01-25 00:35:49 +03:00
Ivan Lezhankin
f897f7c93f
Refactor IFunction to execute with const arguments
2020-11-17 16:24:45 +03:00
Nikolai Kochetov
384718e6c3
Part 8.
2020-10-19 18:27:41 +03:00
Nikolai Kochetov
959424f28a
Rename block to columns.
2020-10-14 17:04:50 +03:00
Nikolai Kochetov
966b1d6cf5
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:09:11 +03:00
Nikolai Kochetov
d28325a353
Replace getByPosition to []
2020-10-10 21:24:57 +03:00
Artem Zuikov
b3eafc1106
hide symbols in nameless namespace
2020-09-07 21:00:37 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Alexey Milovidov
0bf7a8c554
Add multiIf
2020-06-30 01:50:26 +03:00