Commit Graph

524 Commits

Author SHA1 Message Date
Andrey Mironov
65c309550d Merge 2015-09-03 16:36:18 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Alexey Arno
1491260e3b dbms: Server: Fixed behavior of LIKE. Now % correctly matches newlines. [#METR-17588] 2015-09-03 15:09:47 +03:00
Alexey Arno
277fab46b9 Merge 2015-09-02 16:05:17 +03:00
Andrey Mironov
6b5b1f2723 optimistic codepath for bitTest(All|Any) when all positions are constant [#METR-17427] 2015-08-31 17:03:31 +03:00
Andrey Mironov
d43a8cce1f fix linking of ███████████ 2015-08-21 12:16:52 +03:00
Andrey Mironov
8b890f1c06 dbms: add functions bitTestAny, bitTestAll (non-vectorized) and tests [#METR-17245] 2015-08-20 16:58:09 +03:00
Andrey Mironov
b4b33364e9 dbms: add function bitTest(val, pos), pos starts from 0 [#METR-17245] 2015-08-19 19:11:48 +03:00
Andrey Mironov
24e9805c9f dbms: remove dead code from FunctionsDictionaries.h 2015-08-19 19:11:48 +03:00
Alexey Milovidov
0d6f4ffae1 dbms: fixed error with dictionaries [#METR-17666]. 2015-08-12 04:18:30 +03:00
Alexey Milovidov
5c2b5ffb10 dbms: added function emptyArrayToSingle [#METR-17474]. 2015-07-26 13:40:32 +03:00
Alexey Milovidov
04c78e57ef dbms: function extractURLParameter: fixed error and removed support for ; [#METR-17461]. 2015-07-24 22:23:22 +03:00
Alexey Milovidov
b5b40a9a7a dbms: added function arrayUniq [#METR-17429]. 2015-07-23 14:11:10 +03:00
Alexey Milovidov
9364b2a13a dbms: fixed error in split functions [#METR-17374]. 2015-07-20 23:05:34 +03:00
Andrey Mironov
c739de4805 dbms: check for unsigned overflows in function range() [#METR-17362] 2015-07-20 19:24:37 +03:00
Andrey Mironov
44f6b22a55 dbms: fix function if() and ternary operator for same types. [#METR-17372] 2015-07-20 18:04:40 +03:00
Andrey Mironov
58408dc8a3 dbms: add function metroHash64 2015-07-20 17:59:29 +03:00
Alexey Milovidov
5077e51fc7 dbms: implemented function 'if' for FixedString arguments [#METR-17352]. 2015-07-17 22:53:09 +03:00
Andrey Mironov
f1bc759807 dbms: add farmHash64 [#METR-17328] 2015-07-17 18:56:34 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Andrey Mironov
240d5c5b58 dbms: range_hashed dictGet*: add a missing call to resizing constructor of ColumnVector. [#METR-17111] 2015-07-14 18:05:46 +03:00
Andrey Mironov
874f665ffd Merge 2015-07-14 16:11:38 +03:00
Andrey Mironov
2af56fe772 dbms: implement dictGet* functions for RangeHashedDictionary. [#METR-17111 2015-07-14 16:06:25 +03:00
Alexey Milovidov
234367b038 dbms: added function identity [#METR-17251]. 2015-07-14 00:27:08 +03:00
Andrey Mironov
f92714712f dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111] 2015-07-13 20:11:17 +03:00
Andrey Mironov
c4440ad829 dbms: RangeHashedDictionary implementation [#METR-17111] 2015-07-13 19:18:28 +03:00
Andrey Mironov
8ea2990e7d dbms: ExternalDictionaries: remove most invididual getters 2015-07-10 17:43:49 +03:00
Alexey Milovidov
8aa96f3f79 dbms: added comment [#METR-17233]. 2015-07-10 06:06:00 +03:00
Alexey Milovidov
2af61829fe dbms: added least and greatest functions [#METR-17233]. 2015-07-10 05:57:32 +03:00
Alexey Arno
5e1b1d4c48 dbms: Server: Performance improvements. [#METR-15618] 2015-07-08 20:30:42 +03:00
Alexey Arno
e44a202bad dbms: Server: Style fix. [#METR-15618] 2015-07-08 17:25:11 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Arno
5a3d5970c5 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 03:09:57 +03:00
Alexey Arno
7968c06699 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:26:15 +03:00
Alexey Arno
426e27d98e dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:14:07 +03:00
Alexey Arno
7ef2b9595a dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 16:35:28 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Alexey Arno
2f56341f00 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 20:32:04 +03:00
Alexey Arno
419bc03713 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 19:07:29 +03:00
Alexey Arno
557b0bf9cc dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 17:35:02 +03:00
Alexey Milovidov
cc8734c5aa dbms: addition to prev. revision [#METR-17105]. 2015-06-30 21:38:55 +03:00
Alexey Milovidov
b5e2e9a7ae dbms: function 'roundAge': fixed error [#METR-17105]. 2015-06-30 21:22:06 +03:00
Alexey Arno
d8b0510518 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 18:03:22 +03:00
Alexey Arno
eec6b89a4c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 17:02:47 +03:00
Alexey Milovidov
c1ed7ca004 dbms: fixed error with LIKE [#METR-17078]. 2015-06-29 21:47:46 +03:00
Alexey Milovidov
cdf90e9510 dbms: higher order functions: added support for constant expressions [#METR-17014]. 2015-06-28 09:25:12 +03:00
Alexey Arno
37f008afd0 dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618] 2015-06-26 18:11:31 +03:00
Alexey Milovidov
001ffdfa18 dbms: fixed error with higher order functions [#METR-16894]. 2015-06-19 05:34:47 +03:00
Alexey Milovidov
b6ccb2f6f5 dbms: added support for arguments of type Array(String) for function if [#16700]. 2015-06-18 00:10:19 +03:00
Alexey Milovidov
0e01dad0a3 dbms: added support for numeric arrays for arguments of function if [#METR-16700]. 2015-06-17 05:02:53 +03:00
Alexey Milovidov
bb83c867fd dbms: added support for Array arguments of function 'if' (incomplete) [#METR-16700]. 2015-06-17 00:42:18 +03:00
Alexey Milovidov
26813667eb dbms: allowed to compare Date and DateTime with constant string [#METR-2944]. 2015-06-12 10:46:58 +03:00
Andrey Mironov
ea4f4420ba dbms: replace old lower/upper(UTF8) with vectorized ones [#METR-14764] 2015-06-10 15:47:27 +03:00
Alexey Milovidov
417ab909b8 dbms: added functions for manipulation of aggregation states [#METR-16677]. 2015-06-06 03:28:37 +03:00
Andrey Mironov
5a21f3908b dbms: SSE lower/upperUTF8 faster handling of cyrillic sequences[#METR-14764] 2015-06-04 15:16:48 +03:00
Alexey Arno
b86aa4785c dbms: Server: Avoid negative zeroes in all of the remaining cases. [#METR-15210] 2015-06-03 20:01:30 +03:00
Andrey Mironov
1037433f3d dbms: finally fix out-of-bounds access in SSE lower/upper UTF8[#METR-14764] 2015-06-03 19:08:39 +03:00
Alexey Arno
ce1e437c09 dbms: Server: Added function toStartOfFiveMinute. [#METR-14495] 2015-06-03 17:27:03 +03:00
Alexey Arno
de8ad31161 dbms: Server: Added comment. [#METR-16386] 2015-06-03 16:20:19 +03:00
Alexey Arno
59e894426a dbms: Server: Added version function. [#METR-16386] 2015-06-03 16:11:59 +03:00
Alexey Milovidov
8d09c7f618 dbms: additions [#METR-15987]. 2015-06-03 06:55:29 +03:00
Alexey Milovidov
c341bd2c60 dbms: function 'transform': added support for non-const argument with default value [#METR-15987]. 2015-06-03 06:29:28 +03:00
Andrey Mironov
018a31f416 dbms: SSE lower/upperUTF8 fix calculation of array end aligned to a multiple of 16 [#METR-14764] 2015-06-01 15:51:07 +03:00
Alexey Milovidov
98594561d5 dbms: fixed error [#METR-15210]. 2015-05-29 19:46:46 +03:00
Alexey Milovidov
f16cdbdefa dbms: tiny modifications for rounding functions [#METR-15210]. 2015-05-29 19:09:51 +03:00
Andrey Mironov
78bda3cd50 dbms: SSE lower/upperUTF8 finer granularity, more realistic approach [#METR-14764] 2015-05-29 17:58:33 +03:00
Andrey Mironov
ff7dc2635b dbms: SSE lower/upper(UTF8) fix logical error, disable SSE4.2 [#METR-14764] 2015-05-29 13:43:05 +03:00
Andrey Mironov
8825aa2db3 dbms: SSE lower/upper(UTF8) fix hardcode and harness SSE4.2 [#METR-14764] 2015-05-29 11:43:20 +03:00
Alexey Milovidov
3db1bf63a2 dbms: fixed error [#METR-16575] [#METR-16573]. 2015-05-29 03:33:56 +03:00
Alexey Arno
b2679d1886 Merge 2015-05-28 17:01:46 +03:00
Alexey Arno
8125cad146 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 17:00:52 +03:00
Alexey Arno
79bad96d98 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 15:58:09 +03:00
Andrey Mironov
b06bdb0edf dbms: add SSE variants of lower/upper and UTF8 equivalents [#METR-14764] 2015-05-28 15:33:07 +03:00
Alexey Arno
463ee81a9d dbms: Server: Performance improvements + fixed rounding algorithm for negative precisions. [#METR-15210] 2015-05-28 01:59:46 +03:00
Alexey Arno
c965ef892a Merge 2015-05-25 18:09:12 +03:00
Alexey Arno
ab3befbf92 dbms: Server: Fixed MySQL-conformance issue after testing. [#METR-15210] 2015-05-25 18:04:21 +03:00
Alexey Arno
57287a28c1 Merge 2015-05-25 16:39:06 +03:00
Alexey Arno
9184d8781b dbms: Server: Cosmetic tweak. [#METR-15210] 2015-05-25 16:38:06 +03:00
Alexey Arno
b7da487317 dbms: Server: Removed useless include. [#METR-15210] 2015-05-25 16:37:08 +03:00
Alexey Arno
ea54cea42e Merge 2015-05-25 16:35:52 +03:00
Alexey Arno
46529f57d9 dbms: Server: Implemented MySQL-conformant behavior. [#METR-15210] 2015-05-25 16:35:04 +03:00
Andrey Mironov
728d367d34 dbms: FunctionsMath: use Vec2d::store for faster stores 2015-05-21 15:26:29 +03:00
Alexey Arno
569a383606 dbms: Server: bug fix. [#METR-15210] 2015-05-20 19:21:58 +03:00
Alexey Arno
1143cfb7ad dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 18:34:09 +03:00
Alexey Arno
793d1accfc dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 17:00:40 +03:00
Alexey Arno
2421d53033 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:31:14 +03:00
Alexey Arno
8a36ba31c8 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:26:23 +03:00
Alexey Arno
30eef142b3 Merge 2015-05-19 16:23:13 +03:00
Alexey Milovidov
b96f132d21 dbms: fixed error with regionToContinent [#METR-2944]. 2015-05-17 02:49:13 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Alexey Arno
ae16cb6ac2 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:43:42 +03:00
Alexey Arno
897f809463 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:33:52 +03:00
Alexey Arno
aa6fb6b229 Merge 2015-05-14 15:08:27 +03:00
Andrey Mironov
095fd54ae8 dbms: correctly handle injective dictGet* functions during ExpressionAnalyzer's optimizations. 2015-05-13 19:11:24 +03:00
Alexey Milovidov
6ce28acc0f dbms: cut dependency [#METR-2944]. 2015-05-04 20:52:19 +03:00
Alexey Milovidov
685aa695bb dbms: function 'transform': added support for constant argument [#METR-15987]. 2015-04-29 04:30:44 +03:00
Alexey Milovidov
738e736500 dbms: function 'transform': development [#METR-15987]. 2015-04-28 08:21:41 +03:00
Alexey Milovidov
d371b7c843 dbms: function 'transform': development [#METR-15987]. 2015-04-28 07:47:27 +03:00
Alexey Milovidov
123cd3340d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:54:57 +03:00