Commit Graph

247 Commits

Author SHA1 Message Date
Pavel Kartavyy
8d857bd434 Fixed coding style. Changed extractAll behaviour [#CONV-8285]
Now extractAll works without overcrossing.
New version:
#extractAll('abba', 'abbabba)
>['abba']

Old one:
#extractAll('abba', 'abbabba)
>['abba', 'abba']
2013-08-05 08:40:56 +00:00
Pavel Kartavyy
99e0a5a56b ClickHouse: Change behaviour of extractAll [#CONV-8285] 2013-08-02 16:31:23 +00:00
Pavel Kartavyy
e2e6032020 ClickHouse: Added function extractURLParameterNames(URL) [#CONV-8285] 2013-08-02 13:55:43 +00:00
Pavel Kartavyy
fa761bd984 ClickHouse: Added extractAll(regexp, s) function [#CONV-8285] 2013-08-02 13:09:42 +00:00
Evgeniy Gatov
b1ed7de82f dbms: added "toStringCutToZero" function [#CONV-8237]. 2013-08-01 20:22:22 +00:00
Alexey Milovidov
a555c2f0e8 dbms: fixed function substring of FixedString arguments [#CONV-8271]. 2013-07-18 23:43:13 +00:00
Alexey Milovidov
ba11c61b01 dbms: Fixed error with concat(FixedString, String) [#CONV-8271]. 2013-07-18 23:34:07 +00:00
Alexey Milovidov
c63d6a8b66 dbms: fixed error with string functions operating on FixedString columns [#CONV-8271]. 2013-07-18 20:24:04 +00:00
Evgeniy Gatov
dfff0e427a dbms: 'hex' function now works with FixedString [#CONV-8237]. 2013-07-18 11:30:58 +00:00
Michael Kolupaev
23046fe1fe clickhouse: fixed sets [#CONV-7997]. 2013-06-26 16:31:49 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Michael Kolupaev
23e96d9303 clickhouse: arrayFilter now can accept multiple array and filter the first of them [#CONV-7444]. 2013-06-21 12:33:27 +00:00
Michael Kolupaev
041dc5249d clickhouse: added function arraySum [#CONV-7444]. 2013-06-21 12:11:35 +00:00
Michael Kolupaev
2d620a3aa1 clickhouse: added oveloads for higher order array functions [#CONV-7444]. 2013-06-20 12:27:33 +00:00
Vyacheslav Alipov
82742b4ac4 ExtractToString fix [#CONV-7793] 2013-06-17 09:52:56 +00:00
Vyacheslav Alipov
9ff7ca3d8c ExtractString fix [#CONV-7793] 2013-06-11 16:23:58 +00:00
Vyacheslav Alipov
ced71b0f9b ExtractString[NOT TESTED] and ExtractRaw [#CONV-7793] 2013-06-11 16:09:53 +00:00
Vyacheslav Alipov
b75d025580 changed parsing of numerics [#CONV-7793] 2013-06-11 12:31:08 +00:00
Vyacheslav Alipov
32dbd3d02a fixed parsing of quoted numbers [#CONV-7793] 2013-06-10 16:04:05 +00:00
Vyacheslav Alipov
e9c1b4e490 functions extracting numbers from VisitParams [#CONV-7793] 2013-06-10 15:19:37 +00:00
Michael Kolupaev
078f598ea0 clickhouse: sleep function not sleeping on empty blocks [#CONV-2807]. 2013-06-10 13:42:05 +00:00
Alexey Milovidov
9d1142b028 dbms: fixed error [#CONV-7444]. 2013-06-08 20:19:29 +00:00
Alexey Milovidov
ed38f1fd0a dbms: fixed compilation in gcc 4.3 [#CONV-2944]. 2013-06-07 22:12:58 +00:00
Alexey Milovidov
c8b340e85b dbms: fixed warning [#CONV-2944]. 2013-06-07 17:32:12 +00:00
Vyacheslav Alipov
bfdb77b586 regionToName function arguments check fix [#CONV-7735] 2013-06-05 13:54:05 +00:00
Michael Kolupaev
9942dcc9c8 clickhouse: removed obsolete code [#CONV-7444]. 2013-06-05 13:42:13 +00:00
Vyacheslav Alipov
fd22381a2d added regionToName function [#CONV-7735] 2013-06-05 13:40:14 +00:00
Michael Kolupaev
2ae3de092d clickhouse: fixed higher order functions [#CONV-7444]. 2013-06-05 12:03:50 +00:00
Michael Kolupaev
9b38534853 clickhouse: fixed higher order functions [#CONV-7444]. 2013-06-05 11:44:10 +00:00
Michael Kolupaev
c06c895444 clickhouse: fixed build [#CONV-7444]. 2013-06-05 10:34:59 +00:00
Michael Kolupaev
8f63eaf24b clickhouse: fixed build [#CONV-7444]. 2013-06-05 10:04:09 +00:00
Michael Kolupaev
5980653806 clickhouse: fixed build [#CONV-7444]. 2013-06-05 09:58:25 +00:00
Michael Kolupaev
59814c06ed clickhouse: fixed replicate [#CONV-7444]. 2013-06-05 09:56:47 +00:00
Michael Kolupaev
8cebe94103 clickhouse: fixed higher order functions [#CONV-7444]. 2013-06-05 09:50:53 +00:00
Michael Kolupaev
9dd3f851c6 clickhouse: fixed functions [#CONV-7444]. 2013-06-05 09:47:21 +00:00
Michael Kolupaev
fb7078fd81 clickhouse: added function replicate [#CONV-7444]. 2013-06-04 14:59:05 +00:00
Michael Kolupaev
46d8382252 clickhouse: fixed tupleElement [#CONV-7444]. 2013-06-04 13:47:18 +00:00
Michael Kolupaev
452a233030 clickhouse: added function prerequisite support [#CONV-7444]. 2013-06-04 13:34:46 +00:00
Michael Kolupaev
d4f98f5bc5 clickhouse: fixed lambda expressions [#CONV-7444]. 2013-06-03 14:08:08 +00:00
Michael Kolupaev
952f177eff clickhouse: probably fixed lambda expressions [#CONV-7444]. 2013-06-03 12:35:56 +00:00
Alexey Milovidov
3673752d1b dbms: fixed error with formatting DateTime near begin of unix epoch; fixed error with toTime function when changing daylight saving time; fixed toTime function for non-Moscow time zones [#CONV-7755]. 2013-06-01 04:58:52 +00:00
Michael Kolupaev
fa4d2dd10b clickhouse: ExpressionAnalyzer: development, fixed build [#CONV-7444]. 2013-05-28 11:54:37 +00:00
Michael Kolupaev
0ecebb645d Expression replacement: development [#CONV-7444]. 2013-05-27 14:02:55 +00:00
Alexey Milovidov
a87eee123f dbms: fixed warning [#CONV-2807]. 2013-05-22 18:56:19 +00:00
Michael Kolupaev
26ed29cfeb clickhouse: higher order functions: development [#CONV-7444]. 2013-05-20 15:42:57 +00:00
Michael Kolupaev
48c5dedb42 clickhouse: added parsing of lambda-expressions [#CONV-7444]. 2013-05-08 09:52:02 +00:00
Alexey Milovidov
28c9579a5f Separated ColumnString from ColumnArray and ColumnFixedString from ColumnFixedArray; removed ColumnFixedArray [#CONV-2944]. 2013-05-05 15:25:25 +00:00
Michael Kolupaev
9290d084a9 clickhouse: probably slightly improved performance of URL functions [#CONV-2807]. 2013-04-17 12:52:55 +00:00
Michael Kolupaev
0fddbe3f88 clickhouse: added functions for site categories [#CONV-7180]. 2013-04-17 11:37:34 +00:00
Michael Kolupaev
e5e38e12d6 clickhouse: fixed finction regionIn [#CONV-2944]. 2013-04-10 10:52:38 +00:00
Michael Kolupaev
577dff4457 DateLUT: fixed segfault when looking up invalid date (it appeared at least in ███████████ and clickhouse) [#CONV-7212]. 2013-04-09 12:38:39 +00:00
Michael Kolupaev
0f94ab34bf Merge 2013-03-27 10:07:23 +00:00
Alexey Milovidov
3ae8c09e54 dbms: fixed error [#CONV-7023]. 2013-03-26 19:30:23 +00:00
Michael Kolupaev
aacdd1a5c1 clickhouse: added comments for functions [#CONV-6788]. 2013-03-18 10:49:31 +00:00
Michael Kolupaev
c2612d08e1 clickhouse: fixed function cutURLParameter [#CONV-6788]. 2013-03-18 10:39:47 +00:00
Michael Kolupaev
f933440e9c clickhouse: added function cutURLParameter [#CONV-6788]. 2013-03-18 10:27:45 +00:00
Michael Kolupaev
c1f8ad492e clickhouse: function sleep accepts different types of argument [#CONV-6788]. 2013-03-07 18:19:22 +00:00
Michael Kolupaev
814b47a415 clickhouse: optimized bitmaskTo* functions [#CONV-6788]. 2013-03-07 18:11:30 +00:00
Michael Kolupaev
3cd4ad6489 clickhouse: slightly improved bitmaskTo* functions [#CONV-6788]. 2013-03-07 18:01:25 +00:00
Michael Kolupaev
6f79845d57 clickhouse: fixed function hex [#CONV-6788]. 2013-03-07 17:15:44 +00:00
Michael Kolupaev
b425a83698 clickhouse: fixed function bitmaskToArray [#CONV-6788]. 2013-03-07 13:17:52 +00:00
Michael Kolupaev
56f918a0a3 clickhouse: added function bitmaskToArray [#CONV-6788]. 2013-03-07 13:15:22 +00:00
Michael Kolupaev
60e193e57d clickhouse: fixed build [#CONV-6788]. 2013-03-07 13:04:07 +00:00
Michael Kolupaev
929cc85e4b clickhouse: fixed build [#CONV-6788]. 2013-03-07 13:03:09 +00:00
Michael Kolupaev
215cc0a8c1 clickhouse: fixed unhex function [#CONV-6788]. 2013-03-07 13:00:40 +00:00
Michael Kolupaev
be85c7ba2b clickhouse: fixed build [#CONV-6788]. 2013-03-07 12:50:22 +00:00
Michael Kolupaev
b444fca00b clickhouse: fixed build [#CONV-6788]. 2013-03-07 12:49:48 +00:00
Michael Kolupaev
02a7cfe2ae clickhouse: removed accidentally commited garbage [#CONV-6788]. 2013-03-07 12:48:46 +00:00
Michael Kolupaev
a375f43d63 clickhouse: fixed build [#CONV-6788]. 2013-03-07 12:47:12 +00:00
Michael Kolupaev
64f4d743d2 clickhouse: added function unhex [#CONV-6788]. 2013-03-07 12:43:54 +00:00
Michael Kolupaev
04abb54e99 clickhouse: fixed function hex [#CONV-6788]. 2013-03-07 12:14:33 +00:00
Michael Kolupaev
934566de4a clickhouse: fixed function hex [#CONV-6788]. 2013-03-07 12:11:44 +00:00
Michael Kolupaev
e3b48d5324 clickhouse: added function hex [#CONV-6788]. 2013-03-07 12:01:41 +00:00
Michael Kolupaev
c73ac806d9 clickhouse: fixed build [#CONV-6788]. 2013-03-06 13:47:57 +00:00
Michael Kolupaev
efed69fcc6 clickhouse: fixed bas_cast in ColumnConstArray (added nested type information) [#CONV-6788]. 2013-03-06 13:44:40 +00:00
Michael Kolupaev
a0de019a61 clickhouse: addition to previous commit [#CONV-6788]. 2013-03-06 12:27:05 +00:00
Michael Kolupaev
78d68159ac clickhouse: fixed build [#CONV-6788]. 2013-03-06 12:08:18 +00:00
Michael Kolupaev
8f8c97e858 clickhouse: added functions regionHierarchy, OSHierarchy, SEHierarchy [#CONV-6788]. 2013-03-06 12:03:52 +00:00
Michael Kolupaev
e8766d7e90 clickhouse: added URLHierarchy function [#CONV-6788]. 2013-03-06 11:22:17 +00:00
Michael Kolupaev
07ba56e85c clickhouse: slightly fixed extractURLParameters [#CONV-6788]. 2013-03-06 09:00:58 +00:00
Michael Kolupaev
a1707b1e6c clickhouse: added function extractURLParameters [#CONV-6788]. 2013-03-05 13:30:23 +00:00
Michael Kolupaev
20b8e06784 clickhouse: extractURLParameter supports semicolon separator [#CONV-6788]. 2013-03-05 13:20:01 +00:00
Michael Kolupaev
22477bd94d clickhouse: fixed IPv4StringToNum [#CONV-6788]. 2013-03-05 12:47:01 +00:00
Michael Kolupaev
ecdffa7efe clickhouse: reverted last optimization (no speed up) [#CONV-6788]. 2013-03-05 12:26:09 +00:00
Michael Kolupaev
290464728d clickhouse: slightly optimized [#CONV-6788]. 2013-03-05 12:17:38 +00:00
Michael Kolupaev
eb5ebc7996 clickhouse: added function extractURLParameter [#CONV-6788]. 2013-03-05 12:12:47 +00:00
Michael Kolupaev
24ffa945bc clickhouse: added function IPv4StringToNum [#CONV-6788]. 2013-03-05 10:29:26 +00:00
Michael Kolupaev
49ae9d23e2 clickhouse: added function FunctionIPv4NumToString [#CONV-6788]. 2013-03-05 09:32:12 +00:00
Michael Kolupaev
7cc555a855 clickhouse: added sleep function [#CONV-6788]. 2013-03-04 10:38:44 +00:00
Michael Kolupaev
17c9eaea20 clickhouse: fixed extract function [#CONV-6788]. 2013-03-04 10:10:19 +00:00
Michael Kolupaev
f591936a69 clickhouse: fixed extract function [#CONV-6788]. 2013-03-04 09:47:33 +00:00
Michael Kolupaev
ea816297c2 clickhouse: added function extract [#CONV-6788]. 2013-02-28 13:01:07 +00:00
Alexey Milovidov
4b1888ecf3 dbms: fixed error with division [#CONV-2944]. 2013-02-16 21:23:55 +00:00
Alexey Milovidov
1f92a0498e dbms: tiny improvement [#CONV-2944]. 2013-02-14 16:54:10 +00:00
Alexey Milovidov
70385e1229 Reverted experimental modification [#CONV-2944]. 2013-01-21 06:43:38 +00:00
Alexey Milovidov
39abfc625a dbms: improved performance [#CONV-2944]. 2013-01-21 06:10:30 +00:00
Michael Kolupaev
bf9d7c4127 clickhouse: fixed crash on conversion of invalid dates (invalid dates now quietly produce invalid results) [#CONV-6318]. 2013-01-10 09:24:30 +00:00
Alexey Milovidov
8c0db880d7 dbms: fixed warning [#CONV-2944]. 2013-01-05 20:06:47 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00