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
Maksim Kita
47528de78b
Fix build
2022-04-04 14:07:05 +02:00
usurai
9fe920500d
Apply suggestions from code review
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-16 20:58:43 +08:00
usurai
8076e1ef30
Remove whitespace
2022-02-07 17:23:43 +08:00
usurai
e242192ab8
Declare error code
2022-02-07 16:36:49 +08:00
usurai
e6f5c74c17
Remove redundent header
2022-02-07 16:36:49 +08:00
usurai
6dd482136f
Add startsWith & endsWith for array
2022-02-07 16:36:49 +08:00
Pavel Kruglov
70b51133c1
Try to simplify code
2021-08-09 18:01:08 +03:00
Pavel Kruglov
0662df8b76
Fix performance with JIT, add arguments to function isSuitableForShortCircuitArgumentsExecution
2021-08-09 17:54:14 +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
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
d923d9e6ef
Function move file
2021-05-17 10:30:42 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +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
Ivan Lezhankin
f897f7c93f
Refactor IFunction to execute with const arguments
2020-11-17 16:24:45 +03:00
Nikolai Kochetov
ce2f6a0560
Part 4.
2020-10-18 00:41:50 +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
9b42bfdc36
Merge pull request #15817 from ClickHouse/new-block-for-functions-2
...
Use `ColumnsWithTypeAndName` instead of `Block` for function calls [part 2]
2020-10-12 00:32:58 +03:00
Nikolai Kochetov
3a17c2a7ac
Rename FunctionArguments to ColumnsWithTypeAndName
2020-10-11 22:20:20 +03:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Nikolai Kochetov
d28325a353
Replace getByPosition to []
2020-10-10 21:24:57 +03:00
Nikolai Kochetov
a7fb2e38a5
Use ColumnWithTypeAndName as function argument instead of Block.
2020-10-09 10:41:28 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Dmitrii Kovalkov
b0537bf31e
Fix clang builds
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
43b836adc1
cosmetics
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
ef030349ff
Add hashes to multitarget code, a lot of cosmetics
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
c524642d24
Delete awful template PerformanceAdaptro and add simple ImplementationSelector instead
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
b2b3ba5942
Finaly fix clang build
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
9387981abe
Add afwul option for choosing implementation
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
234a828dd0
Add option to disable multitarget build
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
a4ff8bb933
Get rid of handwritten cpu feature detection
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
80ab14e3f9
Get rid of copy-paste in PerformanceAdaptor
2020-05-29 07:33:38 +02:00
Dmitrii Kovalkov
43f5ca868a
Cosmetics
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
089b3ca008
Check target properly
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
9026187c2c
Cosmetics
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
09bb9041ec
Add descriptions, move to Functions/, rename, measure time, and so on...
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
e0a497d575
Better interface
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
43657809d8
awful adaptor
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
37d13d4bce
Compilable
2020-05-29 07:31:59 +02:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00