Commit Graph

510 Commits

Author SHA1 Message Date
Andrey Mironov
152ca18a21 dbms: drastic increase in IPv6StringToNum performance. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
a88c5e74ab dbms: improve performance of IPv6NumToString. [#METR-13151] 2014-10-30 17:43:41 +03:00
Andrey Mironov
74b2f521d0 dbms: fix IPv6NumToString out of bounds access. [#METR-13151] 2014-10-29 16:53:04 +03:00
Andrey Mironov
a5905c608a dbms: IPv6StringToNum. [#METR-13151] 2014-10-29 15:49:33 +03:00
Andrey Mironov
ee34ca31d8 dbms: add MD5, SHA1, SHA224, SHA256, IPv6NumToString. [#METR-13151] 2014-10-29 15:49:33 +03:00
Andrey Mironov
96d8c7484a dbms: add arrayFirst, arrayFirstIndex functions. [#METR-13151] 2014-10-28 18:49:33 +03:00
Andrey Mironov
484073a95c dbms: add emptyArrayType family of functions. #[METR-13151] 2014-10-28 16:43:51 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
08e93dbbd4 dbms: Client: showing progress bar for long-running queries [#METR-2944]. 2014-10-26 00:27:37 +04:00
Andrey Mironov
43deee45c9 dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739] 2014-10-13 18:35:40 +04:00
Alexey Milovidov
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Andrey Mironov
0a4e3f1280 add function currentDatabase(), allow string-expressions in place of database name 2014-09-24 15:53:41 +04:00
Alexey Milovidov
41d2b30992 dbms: added function regionToDistrict [#METR-12826]. 2014-09-19 22:51:24 +04:00
Alexey Milovidov
bd8d56512e dbms: FunctionsArithmetic: style [#METR-12575]. 2014-09-18 00:18:52 +04:00
Andrey Mironov
e92c71eb18 leverage substitution failure power. [#METR-12575] 2014-09-08 17:37:25 +04:00
Andrey Mironov
bb5fc8c1e1 initial implementation. [#METR-12575] 2014-09-08 14:46:30 +04:00
Andrey Mironov
f8e5ae8a02 implement today(), yesterday() [#METR-12575] 2014-09-04 15:48:07 +04:00
Alexey Milovidov
3defedab21 dbms: changed std::function to function ptr (tnx. hertz) [#METR-2944]. 2014-08-22 19:48:48 +04:00
Alexey Milovidov
2b188ba6e0 dbms: improved build time [#METR-2944]. 2014-08-22 04:57:20 +04:00
Alexey Milovidov
0019c0ef57 dbms: fixed error [#METR-12412]. 2014-08-20 08:57:03 +04:00
Alexey Milovidov
dbe7ce2990 dbms: faster rand and rand64 functions [#METR-2944]. 2014-08-17 12:28:03 +04:00
Alexey Milovidov
bbd6064a19 dbms: improved performance of comparisons [#METR-2944]. 2014-08-17 09:41:28 +04:00
Alexey Milovidov
47a810e04f dbms: FunctionsComparison: improvement [#METR-2944]. 2014-08-17 07:29:56 +04:00
Alexey Milovidov
cdf4e8d415 dbms: improved performance of integer division by constant [#METR-2944]. 2014-08-17 06:13:40 +04:00
Alexey Milovidov
69ba035488 dbms: fixed error with function negate on UInt32 [#METR-2944]. 2014-08-09 06:29:03 +04:00
Alexey Milovidov
8038d2ab66 dbms: added function bar [#METR-12249]. 2014-08-09 05:51:03 +04:00
Andrey Mironov
bfb9d70291 Merge 2014-07-28 19:10:00 +04:00
Andrey Mironov
586facc940 libstatdaemons: split OptimizedRegularExpression into thread-safe and single-threaded version 2014-07-28 13:49:16 +04:00
Alexey Milovidov
a294ab5448 dbms: tiny modification [#METR-2944]. 2014-07-25 05:32:06 +04:00
Andrey Mironov
0202b6e92c make_unique implementation, refactor 2014-07-24 17:16:09 +04:00
Andrey Mironov
d16425a5cd dbms: use separate regexp objects for each thread. [#METR-10532] 2014-07-23 19:25:48 +04:00
Michael Kolupaev
0a67d151bd dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202] 2014-07-09 15:54:26 +04:00
Alexey Milovidov
0041db77ab Tiny improvement [#METR-2807]. 2014-07-09 03:52:53 +04:00
Michael Kolupaev
9c7ac77624 renamed anyHash64 to cityHash64, made them identical in unary case. [#METR-11774] 2014-07-04 13:43:00 +04:00
Michael Kolupaev
da7d837497 added function anyHash64. [#METR-11774] 2014-07-03 15:24:29 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
f16a9beb61 dbms: removed sign_rewrite (obsolete, unused); tiny modifications [#METR-11370]. 2014-06-12 23:23:06 +04:00
Alexey Milovidov
a7c8921eb2 dbms: little more readable [#METR-11370]. 2014-06-12 22:41:09 +04:00
Alexey Milovidov
136ad3f5d3 dbms: removed garbage [#METR-11370]. 2014-06-12 04:56:43 +04:00
Alexey Milovidov
8198d86f5a dbms: fixed errors on clang [#METR-2807]. 2014-05-12 04:45:50 +04:00
Alexey Milovidov
4f15ea1c09 dbms: tiny improvement [#METR-2944]. 2014-05-12 00:49:08 +04:00
Alexey Milovidov
f0792f0deb dbms: improved performance of aggregation and aggregate function uniq [#METR-2944]. 2014-05-10 09:17:08 +04:00
Alexey Milovidov
2b13e02d3c dbms: fixed error [#METR-2944]. 2014-05-03 20:03:49 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
4bf42ea6e6 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 06:47:56 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
b821e1420d Fixed style [#METR-10931]. 2014-04-23 02:52:00 +04:00
Sergey Fedorov
a670bd654b dbms: no exception on zero index, added to the test [METR-10798] 2014-04-17 18:56:58 +04:00
Sergey Fedorov
e48c3d7b5e dbms: array element support non-constant index + test on new functionality [METR-10798] 2014-04-17 18:37:59 +04:00
Sergey Fedorov
414af624c7 functions: Fixed. Function array now accept arguments of different types. Also added simple test [METR-10799] 2014-04-15 16:13:24 +04:00
Alexey Milovidov
027ff900dc dbms: added function to convert from FixedString [#METR-10840]. 2014-04-13 17:58:54 +04:00
Alexey Milovidov
1700e1f761 Revert "functions: function array now accept arguments of different types [METR-10799]"
This reverts commit 6a217ce09f5f1e7f3ed753d356f5548ae58498c7.
2014-04-12 20:34:10 +04:00
Sergey Fedorov
a67d4f7e11 functions: function array now accept arguments of different types [METR-10799] 2014-04-10 21:28:49 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
9f4f900920 dbms: more simple [#METR-10713]. 2014-04-05 03:41:54 +04:00
Alexey Milovidov
4903752cd0 dbms: added support for 'point of view' argument of functions working with dictionaries [#METR-10713]. 2014-04-04 22:08:01 +04:00
Alexey Milovidov
eba3126077 dbms: style [#METR-10071]. 2014-03-27 23:09:23 +04:00
Sergey Fedorov
f0aae9604a dbms: Global in function, sexternal tables transfers to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Michael Kolupaev
4324cede4e small style fix. [#METR-9599] 2014-02-24 11:37:13 +04:00
Michael Kolupaev
c60a342884 clickhouse: slightly faster logical operations. [#METR-9599] 2014-02-24 11:11:32 +04:00
Alexey Milovidov
05615da00a dbms: Fixed leak [#METR-9750]. Enabled warning, fixed potential errors. 2014-02-23 04:37:25 +04:00
Alexey Milovidov
7fda03243c dbms: a little better initialization of RNG [#METR-9599]. 2014-02-22 23:51:19 +04:00
Michael Kolupaev
9a9eca1721 clickhouse: slightly faster logical functions on small blocks. [#METR-9599] 2014-02-20 12:19:27 +04:00
Michael Kolupaev
c8c4096638 clickhouse: slightly faster logical operations. [#METR-9599] 2014-02-14 09:18:40 +00:00
Michael Kolupaev
c9bbd43433 clickhouse: fixed small bug in logical functions. [#METR-9599] 2014-02-13 11:32:45 +00:00
Michael Kolupaev
a493d85ca9 clickhouse: fixed a typo. [#METR-9599] 2014-02-13 11:21:06 +00:00
Michael Kolupaev
df818b5b94 clickhouse: and, or and xor accept any number of arguments (no less than two); parsing, PKCondition and virtual columns not updated yet. [#METR-9599] 2014-02-13 10:24:56 +00:00
Sergey Fedorov
a1b0a7c454 functions: URLPathHierarchy implementation [METR-9922] 2014-02-11 19:18:38 +00:00
Sergey Fedorov
9a12e98414 functions: fixed bug with empty match in replaceRegexp [METR-9582] 2014-02-07 12:26:25 +00:00
Sergey Fedorov
ac08407ed6 functions: little fix in contants [METR-9582] 2014-02-06 17:02:32 +00:00
Sergey Fedorov
721d6d136f functions: fixed substitutions in replaceRegexp functions [METR-9582] 2014-02-06 16:54:41 +00:00
Alexey Milovidov
91dbb13653 dbms: added support for negative array indices [#METR-9723]. 2014-01-29 01:59:01 +00:00
Sergey Fedorov
8beae0f470 functions: substitutions in replaceRegexp functions [METR-9582] 2014-01-28 13:02:37 +00:00
Sergey Fedorov
0e8477312f functions: replaceRegexpOne and replaceRegexpAll implementation [METR-9582] 2014-01-27 16:01:53 +00:00
Sergey Fedorov
6c2507870e functions: replaceOne replaceAll implementation, few code-style changes [METR-9750] 2014-01-27 13:49:06 +00:00
Sergey Fedorov
c12f36b900 functions: replace implementation [METR-9582] 2014-01-23 14:26:12 +00:00
Sergey Fedorov
2c98354df3 functions: removed couple of unused date time funstions [METR-9582] 2014-01-23 12:12:55 +00:00
Sergey Fedorov
1d874c5f95 functions: Relative Date-time functions + regionToContinent support [METR-9582] 2014-01-22 12:27:55 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Michael Kolupaev
bdcc7d9e93 clickhouse: readable exception instead of NULL pointer for some higher order functions in some cases. [#METR-9254] 2013-12-30 13:08:47 +00:00
Michael Kolupaev
2b7863617d clickhouse: not allowing comparison between Date and DateTime. [#METR-2807] 2013-12-27 14:51:31 +00:00
Michael Kolupaev
9b68bd4212 clickhouse: arrayEnumerateUniq now accepts multiple parallel arrays. [#METR-8821] 2013-12-24 11:56:38 +00:00
Sergey Fedorov
32e0d8397e [dmbs and libs] Function toFirstDayOfQuarter in DateLUT and FunctonsDateTime [METR-9400] 2013-12-20 14:12:20 +00:00
Alexey Milovidov
f1af3dadff dbms: tiny fix [#METR-9508]. 2013-12-19 19:01:08 +00:00
Sergey Fedorov
d930aa4f0c dbms: Rename all binary operations from bitwise* to bit* (e.g. bitwiseAnd -> bitAnd) [METR-9508] 2013-12-17 16:06:52 +00:00
Sergey Fedorov
be3f3beb3d dbms: Two new binary operations: FunctionBitwiseShiftLeft and FunctionBitwiseShiftRight, and one new function - FunctionHostName [METR-9508] 2013-12-17 13:49:21 +00:00
Alexey Milovidov
c640065f37 dbms: don't zero-fill columns with numbers [#METR-8582]. 2013-12-08 02:29:40 +00:00
Michael Kolupaev
54bbe1f361 ClickHouse: fixed toFixedString exception text. [#METR-9091] 2013-12-05 13:15:04 +00:00
Michael Kolupaev
b489295fe3 ClickHouse: added checks for non-positive FixedString size. [#METR-9091] 2013-12-04 10:02:43 +00:00
Michael Kolupaev
49a129c829 ClickHouse: added toFixedString function. [#METR-9091] 2013-12-03 10:19:57 +00:00
Michael Kolupaev
6f46eb052c fixed a typo. [#METR-2807] 2013-12-03 07:56:51 +00:00
Alexey Milovidov
e604345d25 dbms: fixed error [#METR-9176]. 2013-11-11 17:56:41 +00:00
Alexey Milovidov
6a12f5a43a dbms: fixed error [#METR-9119]. 2013-10-31 19:24:22 +00:00
Alexey Milovidov
3c1ec5bc34 dbms: allowed to return tuples as query result [#METR-8970]. 2013-10-26 19:00:13 +00:00
Michael Kolupaev
7ea3db5282 ClickHouse: arrayEnumerateUniq 5.5 times faster. [#METR-8821] 2013-10-24 12:53:24 +00:00
Alexey Milovidov
156bfdc094 dbms: eased use of SipHash [#METR-9019]. 2013-10-21 16:32:49 +00:00
Alexey Milovidov
b26038210d dbms: added sipHash64 function [#CONV-9017]. 2013-10-21 14:35:12 +00:00
Michael Kolupaev
0703a2d85b ClickHouse: added function arrayEnumerate. [#CONV-8821] 2013-10-21 11:36:44 +00:00
Michael Kolupaev
61213cd547 ClickHouse: Added function arrayEnumerateUniq. [#CONV-8821] 2013-10-11 11:43:50 +00:00
Michael Kolupaev
1f9cd062e9 ClickHouse: better type of result of minus() and negate(). [#CONV-8890] 2013-10-08 12:48:55 +00:00
Michael Kolupaev
dc3d84ac93 ClickHouse: type upscaling for if(). [#CONV-8764] 2013-10-08 12:30:43 +00:00
Alexey Milovidov
8b3c4548f7 dbms: fixed 'extract' function [#CONV-8865]. 2013-10-03 19:23:08 +00:00
Alexey Milovidov
dac9ecee21 dbms: fixed error with functions arrayExists, arrayAll [#CONV-8757]. 2013-09-18 23:11:16 +00:00
Alexey Milovidov
aa434e6830 dbms: fixed error with higher-order functions [#CONV-8757]. 2013-09-18 22:40:09 +00:00
Alexey Milovidov
2d48435ecd dbms: fixed error with high order functions and constants [#CONV-8757]. 2013-09-18 20:06:49 +00:00
Alexey Milovidov
c611212c3f dbms: preparation [#CONV-2944]. 2013-09-15 05:51:43 +00:00
Pavel Kartavyy
4ff415e336 extractAll: Fixed bug [CONV-8285] 2013-09-10 16:52:40 +00:00
Alexey Milovidov
05851727d5 dbms: improved performance of string search [#CONV-8419]. 2013-08-29 03:30:47 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Pavel Kartavyy
82af5f8e41 Changed order of arguments in extractAll(s, re).[#CONV-8285] 2013-08-07 11:25:02 +00:00
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
Michael Kolupaev
86ae269076 clickhouse: fixed [#CONV-6318]. 2012-12-26 17:14:00 +00:00
Michael Kolupaev
6df21e5ed1 clickhouse: added missing rules to OLAP query converter [#CONV-6318]. 2012-12-26 17:13:23 +00:00
Michael Kolupaev
0215bc579a clickhouse: fixed [#CONV-6318]. 2012-12-26 17:02:43 +00:00
Michael Kolupaev
1c9b0b63d5 clickhouse: added missing file [#CONV-6318]. 2012-12-26 16:27:46 +00:00
Michael Kolupaev
90b3c76c17 clickhouse: fixed and added bitmaskToList [#CONV-6318]. 2012-12-26 16:26:24 +00:00
Michael Kolupaev
c875f55dcb clickhouse: added countEqual function [#CONV-6318]. 2012-12-26 15:40:37 +00:00
Michael Kolupaev
ecfd5a1320 clickhouse: added trimming to reinterpretAsString [#CONV-6318]. 2012-12-26 15:12:42 +00:00
Michael Kolupaev
f964259a38 clickhouse: fixed typo in comment [#CONV-2944]. 2012-12-26 14:51:41 +00:00
Michael Kolupaev
3ff2a537f4 clickhouse: fixed warning [#CONV-6318]. 2012-12-26 14:48:40 +00:00
Michael Kolupaev
467de27a59 clickhouse: fixed reinterpret [#CONV-6318]. 2012-12-26 14:47:22 +00:00
Michael Kolupaev
a77056b080 clickhouse: fixed warning [#CONV-6318]. 2012-12-26 14:41:57 +00:00
Michael Kolupaev
b1406f4631 clickhouse: fix for prev. rev. [#CONV-6318]. 2012-12-26 14:40:38 +00:00
Michael Kolupaev
cd9a27b433 clickhouse: added reinterpret functions [#CONV-6318]. 2012-12-26 14:31:03 +00:00
Alexey Milovidov
6e57b0d52c dbms: fixed typo [#CONV-2944]. 2012-12-24 17:23:30 +00:00
Michael Kolupaev
ea874ad1c5 clickhouse: added missing file [#CONV-6318]. 2012-12-24 08:16:25 +00:00
Alexey Milovidov
44014d8530 dbms: added functions based on dictionaries [#CONV-2944]. 2012-12-21 19:48:47 +00:00
Alexey Milovidov
95060b1a47 dbms: added more bitwise functions [#CONV-2944]. 2012-12-20 20:01:18 +00:00
Michael Kolupaev
1383bfd005 clickhouse: added bitwise and and or functions [#CONV-6318]. 2012-12-20 13:41:55 +00:00
Alexey Milovidov
272738ee82 dbms: checking for division by zero [#CONV-2944]. 2012-12-18 20:07:26 +00:00
Alexey Milovidov
3f92ee5229 dbms: prepared to use functions with dictionaries [#CONV-2944]. 2012-12-18 20:06:36 +00:00
Alexey Milovidov
46de8ec014 dbms: added function 'indexOf' [#CONV-2944]. 2012-12-15 20:01:46 +00:00
Alexey Milovidov
494b212f3a dbms: removed VarUInt and VarInt data types [#CONV-2944]. 2012-12-14 20:24:26 +00:00
Alexey Milovidov
a8cf550864 dbms: addition to prev. revision [#CONV-2944]. 2012-12-14 18:47:50 +00:00
Alexey Milovidov
a74b574004 dbms: fixed infinite loop while trying to print minimal negative number with Pretty format [#CONV-2944]. 2012-12-14 18:07:15 +00:00
Alexey Milovidov
143df8a373 dbms: tiny modifications [#CONV-2944]. 2012-12-11 20:32:08 +00:00
Alexey Milovidov
bc5c289bb1 dbms: added functions 'arrayElement' and 'has' [#CONV-2944]. 2012-11-02 19:10:43 +00:00
Alexey Milovidov
524f84aa5e Fixed errors with hash function [#CONV-2807]. 2012-11-01 19:05:34 +00:00
Alexey Milovidov
2eee93e1d5 dbms: improved performance of aggregation by many fields; fixed error in function concat [#CONV-2944]. 2012-10-07 06:30:10 +00:00
Alexey Milovidov
02b9c3e47e dbms: development (conditional operator) [#CONV-2944]. 2012-09-24 04:11:55 +00:00
Alexey Milovidov
7f501078b9 dbms: development (conditional operator) [#CONV-2944]. 2012-09-24 02:12:59 +00:00
Alexey Milovidov
7efe870cf9 dbms: development (string splitting functions) [#CONV-2944]. 2012-09-23 05:28:59 +00:00
Alexey Milovidov
93703e86ec dbms: development (array functions) [#CONV-2944]. 2012-09-23 00:04:17 +00:00
Alexey Milovidov
f77216b3de Merge 2012-09-22 07:30:40 +00:00
Alexey Milovidov
c7a4df24be dbms, ███████████: fixed performance issue [#CONV-2944]. 2012-09-22 02:49:28 +00:00
Alexey Milovidov
04fae490a1 dbms: development [#CONV-2944]. 2012-09-17 04:34:19 +00:00
Alexey Milovidov
ee72094d1d ███████████: development [#CONV-2944]. 2012-09-05 19:51:09 +00:00
Alexey Milovidov
ffc6ef092e dbms: development [#CONV-2944]. 2012-09-03 06:32:38 +00:00