Commit Graph

530 Commits

Author SHA1 Message Date
Nikolai Kochetov
a88bb9375a removed useless code from GatherUtils [#CLICKHOUSE-2090] 2017-09-01 20:14:47 +03:00
Nikolai Kochetov
df09912864 reformated GatherUtils.cpp [#CLICKHOUSE-2090] 2017-09-01 20:07:58 +03:00
Nikolai Kochetov
b4f7e0e15c restored identation in FunctionsArray.cpp [#CLICKHOUSE-2090] 2017-09-01 19:57:01 +03:00
Nikolai Kochetov
a46780e4a5 renamed concatGeneric to concatGenericArray [#CLICKHOUSE-2090] 2017-09-01 19:45:05 +03:00
Nikolai Kochetov
3370ba270f fix build [#CLICKHOUSE-2090] 2017-09-01 17:55:43 +03:00
Nikolai Kochetov
862460f293 changed & to && in GatherUtils.cpp [#CLICKHOUSE-2090] 2017-09-01 17:47:42 +03:00
Nikolai Kochetov
b392788e86 fix build [#CLICKHOUSE-2090] 2017-09-01 17:35:37 +03:00
Nikolai Kochetov
5b4759acd9 changed sibstring behaviour for offset < -string_lenght [#CLICKHOUSE-2090] 2017-09-01 17:32:12 +03:00
Nikolai Kochetov
f1c01118b5 fixed writeSlice for const GenericArraySlice and NumericArraySink [#CLICKHOUSE-2090] 2017-09-01 16:55:05 +03:00
Nikolai Kochetov
6956e12770 added comments to writeSlice functions [#CLICKHOUSE-2090] 2017-09-01 16:03:54 +03:00
Nikolai Kochetov
1da43b683c fixed comment [#CLICKHOUSE-2090] 2017-09-01 15:23:06 +03:00
Nikolai Kochetov
7885c5c032 renamed TypeListNumber to TypeListNumbers [#CLICKHOUSE-2090] 2017-09-01 15:09:08 +03:00
Nikolai Kochetov
7891596579 unified TypeList [#CLICKHOUSE-2090] 2017-09-01 15:05:19 +03:00
Nikolai Kochetov
c695f10c66 hanged & to && in GatherUtils [#CLICKHOUSE-2090] 2017-09-01 14:32:31 +03:00
Nikolai Kochetov
c0b05f2ca9 hanged & to && in GatherUtils [#CLICKHOUSE-2090] 2017-09-01 14:02:26 +03:00
alexey-milovidov
1b8100ae86 Update FunctionsArray.cpp 2017-08-31 20:00:51 +03:00
alexey-milovidov
c6f87d9543 Update GatherUtils.h 2017-08-31 19:24:46 +03:00
Nikolai Kochetov
24e135fbe6 supported arraySlice with 2 arguments, added comments [#CLICKHOUSE-2090] 2017-08-25 16:54:08 +03:00
Nikolai Kochetov
1ec04d1024 supported || for arrayConcat [#CLICKHOUSE-2090] 2017-08-25 16:05:26 +03:00
Nikolai Kochetov
239f4f2d36 merged with master 2017-08-25 15:05:18 +03:00
Nikolai Kochetov
0f4e7f1833 fixed array slice with offset <= -(array length) [#CLICKHOUSE-2090] 2017-08-25 14:29:49 +03:00
Nikolai Kochetov
d213efa974 fixed slice for nullable index [#CLICKHOUSE-2090] 2017-08-24 22:19:37 +03:00
Nikolai Kochetov
d8529e1846 unused type alias [#CLICKHOUSE-2090] 2017-08-24 21:16:25 +03:00
Nikolai Kochetov
09a307b94f removed debug stderr output [#CLICKHOUSE-2090] 2017-08-24 19:46:41 +03:00
Nikolai Kochetov
e6fd55ff42 added arrayPushBack arrayPushFront arrayPopBack arrayPopFront function [#CLICKHOUSE-2090] 2017-08-24 19:46:40 +03:00
Nikolai Kochetov
096d34bb7f added arraySlice function [#CLICKHOUSE-2090] 2017-08-24 19:46:34 +03:00
Nikolai Kochetov
c1479a5594 updated GatherUtils [#CLICKHOUSE-2090] 2017-08-24 19:46:15 +03:00
Nikolai Kochetov
c3fe8bb026 added FunctionArrayConcat [#CLICKHOUSE-2090] 2017-08-24 19:45:13 +03:00
Alexey Milovidov
304ccf29b2 Fixed error; added test [#CLICKHOUSE-2]. 2017-08-18 22:02:50 +03:00
Alexey Milovidov
5d835e88de Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-18 21:45:10 +03:00
Alexey Milovidov
434a7d8f38 Fixed function "substring" with out-of-bound negative offset argument [#CLICKHOUSE-2]. 2017-08-18 21:45:02 +03:00
Vadim Skipin
5f4e833925 Cleanup function factories:
* Switch to std::function to allow more complex creator logic
* Cleanup headers
2017-08-18 21:15:57 +03:00
Alexey Milovidov
f918e22438 Miscellaneous [#CLICKHOUSE-2]. 2017-08-18 19:36:02 +03:00
Alexey Milovidov
c629799500 Fixed insufficient arguments checking [#CLICKHOUSE-3102]. 2017-08-16 17:21:24 +03:00
Alexey Milovidov
2ddf462563 Fixed regression [#CLICKHOUSE-2]. 2017-08-16 00:52:52 +03:00
Alexey Milovidov
986c6c729d Fixed incompatibility [#CLICKHOUSE-2]. 2017-08-14 07:23:38 +03:00
Alexey Milovidov
0ef64e5dfe Fixed error [#CLICKHOUSE-2]. 2017-08-14 02:58:04 +03:00
Alexey Milovidov
1e1dc8828a Miscellaneous [#CLICKHOUSE-2]. 2017-08-13 00:02:45 +03:00
Alexey Milovidov
ce4349b6cd Fixed error when huge sets for IN, JOIN, DISTINCT cannot be created with exception message "Cannot mremap... Bad address" [#CLICKHOUSE-2]. 2017-08-11 02:25:51 +03:00
alexey-milovidov
a122cd613a Update FunctionsExternalDictionaries.h 2017-08-10 06:29:06 +03:00
proller
6ca798a357 Fix infinite loop in dictGetHierarchy if id chain looped 2017-08-10 06:29:06 +03:00
proller
ac178bde1f Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM (#1083)
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM

* Fix lib find order

* Allow define non-contrib cityhash farmhash metrohash

* Fix message

* Cmake: fixes

* clean

* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Alexey Milovidov
6edb14ba6b Fixed garbage [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Alexey Milovidov
1fc8548018 Fixing garbage (incomplete) [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Alexey Milovidov
ff54c93a22 Miscellaneous [#CLICKHOUSE-2]. 2017-08-07 04:37:52 +03:00
Alexey Milovidov
f386788278 Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
5ddc354989 Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
19ff0db9f1 Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
6648d6dee4 Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
49bdf266b0 Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 05:25:59 +03:00