Commit Graph

2910 Commits

Author SHA1 Message Date
Alexey Milovidov
d44cc0ca08 dbms: preparations [#METR-15418]. 2015-07-22 04:46:35 +03:00
Alexey Milovidov
71ae4a9931 dbms: preparation [#METR-15418]. 2015-07-22 03:59:22 +03:00
Alexey Milovidov
ca17e5f14a dbms: FULL and RIGHT JOIN: preparation [#METR-15418]. 2015-07-22 00:29:02 +03:00
Andrey Mironov
f4b0c505da dbms: materialize defaults to avoid type safety problems while sorting [#METR-17391] 2015-07-21 20:19:21 +03:00
Alexey Milovidov
9364b2a13a dbms: fixed error in split functions [#METR-17374]. 2015-07-20 23:05:34 +03:00
Alexey Arno
18e886588d dbms: Server: Fixed bug. [#METR-17276] 2015-07-20 20:29:59 +03:00
Alexey Arno
3314579909 Merge 2015-07-20 20:09:43 +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
3ca8bb4448 dbms: added format TSKV [#METR-2944]. 2015-07-18 07:27:38 +03:00
Alexey Milovidov
d5a69e8e31 dbms: fixed error with GROUP BY empty arrays [#METR-17361]. 2015-07-18 07:18:14 +03:00
Alexey Milovidov
5077e51fc7 dbms: implemented function 'if' for FixedString arguments [#METR-17352]. 2015-07-17 22:53:09 +03:00
Andrey Mironov
bb136fb496 dbms: RangeHashedDictionary: fix constructor fomartting 2015-07-17 18:56:34 +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
Alexey Milovidov
71f64f2d49 Merge 2015-07-17 00:32:51 +03:00
Alexey Milovidov
52847e6591 Merge 2015-07-17 00:03:53 +03:00
Alexey Milovidov
9c69ec44a9 dbms: addition to prev. revision [#METR-17281]. 2015-07-16 23:16:42 +03:00
Alexey Milovidov
4920b63fd1 dbms: fixed error with rounded float formatting [#METR-17281]. 2015-07-16 23:02:36 +03:00
Alexey Milovidov
c9689b255d dbms: system.replicas: added columns 'inserts_oldest_time' and 'merges_oldest_time' [#METR-17306].. 2015-07-16 22:11:59 +03:00
Alexey Milovidov
efdc07a1da Merge 2015-07-16 21:13:58 +03:00
Alexey Milovidov
ba7b7dd52d dbms: fixed race condition in storage Chunks [#METR-17327]. 2015-07-15 23:40:19 +03:00
Alexey Milovidov
583dd33ed0 dbms: disabled moving to PREWHERE expressions with GLOBAL IN [#METR-17231]. 2015-07-15 08:07:00 +03:00
Alexey Milovidov
1f03f17a49 dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231]. 2015-07-15 07:50:48 +03:00
Alexey Milovidov
6815bd7c00 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:58:28 +03:00
Alexey Milovidov
bc3a0de6ab dbms: fixed GLOBAL IN inside subquery [#METR-15553]. 2015-07-15 05:52:19 +03:00
Alexey Milovidov
226731128b dbms: get rid of columns inside Context [#METR-15553]. 2015-07-15 04:26: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
df4a33949b dbms: logging query finish for queries without result [#METR-16946]. 2015-07-14 06:05:10 +03:00
Alexey Milovidov
3072d69739 dbms: probably faster (needs testing) [#METR-2944]. 2015-07-14 00:28:19 +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
Alexey Arno
aa30036fd4 dbms: Server: Cosmetic changes that make easier to read, understand, and maintain the code that handles UNION ALL. [#METR-14099] 2015-07-13 18:02:29 +03:00
Alexey Arno
135cac6d77 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 18:16:59 +03:00
Alexey Arno
8410736612 dbms: Server: Correctly handle backward linking of SELECT queries inside UNION ALL. [#METR-16778] 2015-07-11 03:44:45 +03:00
Alexey Arno
10b695465a dbms: Server: Fixed the bug in a much nicer way: InterpreterSelectQuery does not split anymore its AST. [#METR-16778] 2015-07-10 21:26:46 +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 Milovidov
af0070c16b Merge 2015-07-08 07:38:46 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Pavel Kartavyy
ba715bdde0 dbms: writeDateTimeText pass arguments as template parameters 2015-07-07 12:29:29 +03:00
Alexey Milovidov
0296dc2b88 dbms: fixing error with function replicate of arrays of consts [#METR-17110]. 2015-07-06 22:24:51 +03:00
Alexey Arno
1d9066bb8a Merge 2015-07-03 16:04:03 +03:00
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Vasiliev
49288b4043 Merge 2015-07-03 11:29:53 +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
Pavel Kartavyy
eee023ffa9 Merge 2015-07-01 16:07:05 +03:00
Alexey Milovidov
f07967515b dbms: addition to prev. revision [#METR-16946]. 2015-07-01 08:31:27 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +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
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Alexey Milovidov
c1ed7ca004 dbms: fixed error with LIKE [#METR-17078]. 2015-06-29 21:47:46 +03:00
Pavel Kartavyy
aaf7afaa13 Merge 2015-06-29 15:42:00 +03:00
Alexey Milovidov
d23de31335 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 10:41:23 +03:00
Alexey Milovidov
9527f99d07 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 08:46:55 +03:00
Alexey Milovidov
b308d79f5e dbms: improved performance of query parsing and analyzing with very long arrays [#METR-17061]. 2015-06-29 07:54:52 +03:00
Alexey Milovidov
c8b4a8f1be dbms: lowered default query_log.flush_interval_milliseconds to 7500 [#METR-16946]. 2015-06-28 10:34:58 +03:00
Alexey Milovidov
efc741efb0 dbms: added setting 'distributed_group_by_no_merge' [#METR-17060]. 2015-06-28 09:48:42 +03:00
Alexey Milovidov
4cebee36ea dbms: added setting 'skip_unavailable_shards' [#METR-17059]. 2015-06-28 09:38:18 +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 Milovidov
c36fdf0e56 dbms: initial implementation of QueryLog [#METR-16946]. 2015-06-26 23:48:10 +03:00
Alexey Milovidov
c9e225be12 dbms: QueryLog: development [#METR-16946]. 2015-06-26 22:23:25 +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
Andrey Mironov
f7ec7dbf9e dbms: ReadBuffer::ignore does not call eof when n == 0 [#MTRSADMIN-1093] 2015-06-26 13:38:15 +03:00
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +03:00
Alexey Milovidov
4ecc523ea5 dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944]. 2015-06-25 00:24:06 +03:00
Alexey Milovidov
8ab76848d7 dbms: QueryLog: development [#METR-16946]. 2015-06-23 00:26:03 +03:00
Andrey Mironov
f012d95b7a dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
2ba22a4a8a dbms: ActiveDataPartSet::level no longer participates in ::contains and ::operator<. 2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc dbms: added simple priorities system [#METR-16911]. 2015-06-21 09:06:04 +03:00
Alexey Milovidov
001ffdfa18 dbms: fixed error with higher order functions [#METR-16894]. 2015-06-19 05:34:47 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +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
73072b58c7 dbms: fixed comment [#METR-2944]. 2015-06-17 00:41:47 +03:00
Pavel Kartavyy
d6e101ae4b Merge 2015-06-16 17:46:24 +03:00
Alexey Vasiliev
528af6d7cf Merge 2015-06-15 16:53:46 +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
Alexey Milovidov
a9becd36ea dbms: allowed constant expressions in IN [#METR-2944]. 2015-06-12 08:18:47 +03:00
Alexey Milovidov
5b8008e2b1 dbms: fixed error with tuples [#METR-13649]. 2015-06-12 02:38:55 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
bc17c73ee4 SipHash: allowed not to call update for empty strings (less than 0.3% performance degradation on all test data) [#METR-16781]. 2015-06-10 22:56:57 +03:00