Robert Schulze
0753fd1c77
Consolidate config_functions.h into config.h
...
Less duplication, less confusion ...
2022-09-28 12:48:26 +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
Robert Schulze
1b81bb49b4
Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers
...
Official docs:
Some headers from C library were deprecated in C++ and are no longer
welcome in C++ codebases. Some have no effect in C++. For more details
refer to the C++ 14 Standard [depr.c.headers] section. This check
replaces C standard library headers with their C++ alternatives and
removes redundant ones.
2022-05-09 08:23:33 +02:00
Maksim Kita
80b0efb367
Performance tests fix H3
2022-02-18 15:57:54 +00:00
bharatnc
4dadc7e15b
fix style check
2022-02-12 23:36:40 -08:00
bharatnc
b50005e702
add check for max h3 resolution
2022-02-12 22:05:28 -08:00
bharatnc
e02bd7d785
check and get columns in geoToH3 func
2022-02-12 19:08:40 -08:00
Maksim Kita
7785eac384
Loops remove postfix increment
2021-12-20 13:32:13 +03:00
bharatnc
5614be28ef
make looping in H3 funcs uniform
...
Some of the H3 funcs use `collections::range(0, input_rows_count)`
and some just use simple for loop for iterating over the rows.
In my recent PR reviews, I've been requested to use for loop in favor of
collections in the H3 functions and have been wanting to make the switch
for other functions too to make them uniform
This PR replaces `collections::range` with a simple for loop for this
kind of iteration in the remaining H3 funcs.
2021-12-01 18:14:08 -08:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03: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
Nikita Mikhaylov
67fecc55a9
add tests
2021-07-13 10:50:39 +00:00
alexey-milovidov
856892a817
Update geoToH3.cpp
2021-07-10 05:46:11 +03:00
alexey-milovidov
53f5c63e2c
Update geoToH3.cpp
2021-07-09 22:16:57 +03:00
alexey-milovidov
09c20d5d08
Update geoToH3.cpp
2021-07-09 06:15:53 +03:00
Nikita Mikhaylov
06bad99720
Update src/Functions/geoToH3.cpp
...
Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
2021-06-25 17:07:46 +03:00
Yatsishin Ilya
3578a79e08
fix style
2021-06-22 17:41:20 +03:00
Yatsishin Ilya
f2486ac8e9
changes
2021-06-22 12:23:27 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +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
Alexey Milovidov
d966bb939e
Fix inconsistent code around H3
2020-11-04 17:51:41 +03:00
Nikolai Kochetov
df1af1bd94
Part 7.
2020-10-19 16:42:14 +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
Nikita Mikhaylov
5a6a40437a
remove includes from all Function sources
2020-07-29 21:14:48 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Ivan Lezhankin
747a3bb0e8
Support H3 in Arcadia
2020-06-19 13:06:42 +03:00
Alexey Milovidov
8c9408f927
Checkpoint
2020-04-22 11:31:10 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00