Commit Graph

4406 Commits

Author SHA1 Message Date
Alexey Milovidov
b0387d5ccf dbms: FULL and RIGHT JOINs: partial implementation [#METR-15418]. 2015-07-22 05:59:47 +03:00
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
291fb2ad3e dbms: added test [#METR-17364]. 2015-07-21 04:09:59 +03:00
Alexey Milovidov
45bfe8e361 dbms: fixed error with DISTINCT [#METR-17364]. 2015-07-21 00:43:53 +03:00
Alexey Milovidov
9364b2a13a dbms: fixed error in split functions [#METR-17374]. 2015-07-20 23:05:34 +03:00
Andrey Mironov
c956fff1d0 dbms: add FarmHash64 and two variations of MetroHash64 to hash_map_string_3 text [#METR-15838] 2015-07-20 20:50:24 +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
b63b5cd8f9 dbms: add test for ternary operator type checks. [#METR-17372] 2015-07-20 18:46:50 +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
aa225476e8 dbms: modified test [#METR-17361]. 2015-07-18 07:21:04 +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
Alexey Milovidov
8d5cd69bb2 dbms: fixed exception message [#METR-2944]. 2015-07-17 21:11:10 +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
41faaed60e dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:08:50 +03:00
Alexey Milovidov
791cc23dd6 dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:06:45 +03:00
Alexey Milovidov
52847e6591 Merge 2015-07-17 00:03:53 +03:00
Alexey Milovidov
2cfb6495d4 dbms: added test to Float32 formatting [#METR-17281]. 2015-07-16 23:45:04 +03:00
Alexey Milovidov
230bbe3296 dbms: addition to prev. revision [#METR-17281]. 2015-07-16 23:33:05 +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 Arno
5dcda93405 dbms: Server: Fixed unsigned int overflow issues. Updated functional test. [#METR-16435] 2015-07-16 16:01:49 +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
6847fdb979 dbms: added test [#METR-15553]. 2015-07-15 08:06:26 +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
7726566956 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:56:12 +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
Alexey Milovidov
e948f1d1c1 Merge 2015-07-14 20:11:09 +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
Alexey Milovidov
ac2f8dfb13 Merge 2015-07-14 17:49:49 +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
52bab67d5f Merge 2015-07-14 03:48:34 +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
a3cd654331 dbms: Server: Added functional test. [#METR-16435] 2015-07-13 16:25:56 +03:00
Alexey Arno
231588919f Merge 2015-07-13 14:45:59 +03:00
Alexey Arno
135cac6d77 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 18:16:59 +03:00
Alexey Arno
b4f65a44e9 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 16:43:48 +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 Arno
6efb40c48b Merge 2015-07-10 17:42:30 +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 Milovidov
07bb8f34ba dbms: Client: added line feed in case of exception in non-interactive mode [#METR-2944]. 2015-07-09 21:26:50 +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
c449820a13 dbms: addition to prev. revision [#METR-16999]. 2015-07-08 17:22:31 +03:00
Alexey Milovidov
af0070c16b Merge 2015-07-08 07:38:46 +03:00
Alexey Milovidov
0b05ac5871 Merge 2015-07-08 06:18:51 +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
bbdfd33f47 dbms: fixed error with arrays; added test [#METR-17110]. 2015-07-06 23:25:50 +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
1c8251ad10 Merge 2015-07-06 16:53:13 +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
91ca58d0d3 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:22: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
ec8925aa40 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 03:19:31 +03:00
Alexey Milovidov
efddabd212 Merge 2015-07-01 23:42:42 +03:00
Alexey Milovidov
d71b7ca1b0 dbms: better diagnostics [#METR-12542]. 2015-07-01 23:14:23 +03:00
Alexey Arno
17f681ba8c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 21:03:18 +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
4505af81b3 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:24:08 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +03:00
Alexey Milovidov
719f0ee89c Merge 2015-06-30 22:07:19 +03:00
Alexey Milovidov
1618ea3dd7 dbms: added test to prev. revision [#METRIKASUPP-5388]. 2015-06-30 22:06:52 +03:00
Alexey Milovidov
cd734e6f06 dbms: allowed constant arguments of aggregate functions and keys [#METRIKASUPP-5388]. 2015-06-30 22:05:30 +03:00
Alexey Milovidov
115d04aa24 Update README 2015-06-30 21:48:55 +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
3ac04b49b2 dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:59:25 +03:00
Alexey Milovidov
cb223d360a dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:54:33 +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
8c1d4358bc dbms: addition to prev. revision [#METR-17061]. 2015-06-29 08:48:08 +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
9d0f0bf334 Client: added parameter --progress [#METR-17001]. 2015-06-28 10:05:42 +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
6b82289af4 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 01:37:55 +03:00
Alexey Milovidov
d9fd662c12 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 00:20:33 +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
Andrey Mironov
f2f8bf86cc dbms: external dictionaries: fix null pointer dereference after calling unique_ptr::release() 2015-06-26 18:45:31 +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
a9d16d8a9f Merge 2015-06-26 13:52:20 +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
3e25e37feb dbms: Server: Re-added functional test [#METR-16716] 2015-06-26 11:05:59 +03:00
Alexey Arno
a13e6f6a56 dbms: Server: Removed test because UNION ALL and FORMAT cannot be reliably tested together with our current functional test framework: 1) in the result of a UNION ALL the rows may appear in any order; 2) If put UNION ALL in a subrequest and use ORDER BY, we cannot test FORMAT. [#METR-16716] 2015-06-25 21:03:09 +03:00
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +03:00
Andrey Mironov
9dd999708c Merge 2015-06-25 16:03:46 +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 Arno
3874bef1fc dbms: Server: Added unit test. [#METR-16188] 2015-06-23 19:35:04 +03:00
Alexey Milovidov
f3bcb40a45 dbms: added test to prev. revision [#METR-16945]. 2015-06-23 02:54:25 +03:00
Alexey Milovidov
7f2fddeed2 dbms: fixed error in materialized views after refactoring [#METR-16945]. 2015-06-23 02:17:49 +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
Andrey Mironov
be68461fc6 dbms: correctly determine mark to end of previous block [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
978aba0f4c Merge 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
0180cda4ef dbms: modified test [#METR-2944]. 2015-06-18 16:38:50 +03:00
Alexey Milovidov
ba29065d30 dbms: fixed comment [#METR-2944]. 2015-06-18 05:41:35 +03:00
Alexey Milovidov
09010e81f1 dbms: added test [#METR-2944]. 2015-06-18 05:38:38 +03:00
Alexey Milovidov
580b77c152 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:30:50 +03:00
Alexey Milovidov
c757ab96c0 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:25:50 +03:00
Alexey Milovidov
29bb4c0f2e dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:15:26 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
e27323dd2e dbms: addition to prev. revision [#METR-16277]. 2015-06-18 03:34:39 +03:00
Alexey Milovidov
9245f053ca dbms: log query and IP address in case of syntax error [#METR-16277]. 2015-06-18 03:27:25 +03:00
Alexey Milovidov
1b61065f50 dbms: more uniform logging of query, logging client IP address [#METR-16277]. 2015-06-18 00:34:15 +03:00