Commit Graph

4568 Commits

Author SHA1 Message Date
Alexey Milovidov
4ab0052456 dbms: more compact formatting of queries with aliases: development [#METR-17606]. 2015-08-06 00:38:31 +03:00
Alexey Milovidov
e9c504e9da dbms: modified exception message for ParallelReplicas [#MTRSADMIN-1462]. 2015-08-04 21:55:53 +03:00
Alexey Arno
891aed0744 dbms: Server: Cosmetic changes. [#METR-17276] 2015-08-04 16:37:56 +03:00
Alexey Arno
58e2a7ef6b dbms: Server: Removed useless hashing in the case of 32-bit floating point values. [#METR-17276] 2015-08-04 15:33:08 +03:00
Alexey Arno
99aec7b6c1 dbms: Server: Fixed timeout value. [#METR-14410] 2015-08-04 14:22:13 +03:00
Alexey Milovidov
845758e378 Merge 2015-08-03 23:12:23 +03:00
Alexey Milovidov
70f4887d74 dbms: tiny modifications [#METR-2944]. 2015-08-03 23:11:57 +03:00
Alexey Arno
b32721432b dbms: Server: Added stateless functional test (stateful one is in progress). [#METR-17276] 2015-08-03 20:32:37 +03:00
Alexey Arno
a012ab00a8 Merge 2015-08-03 18:54:38 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +03:00
Alexey Arno
f651046ac8 Merge 2015-07-30 20:09:02 +03:00
Alexey Arno
3251f5978a dbms: Server: Made HyperLogLog implementation more understandable. [#METR-17276] 2015-07-30 20:04:49 +03:00
Alexey Arno
3d301bb749 dbms: Server: Use trivial has for HLL12 case. [#METR-17276] 2015-07-29 20:22:17 +03:00
Alexey Arno
b17d3d79fc dbms: Server: Updated comment. [#METR-17276] 2015-07-29 20:13:02 +03:00
Alexey Arno
98557ba369 dbms: Server: Feed CombinedCardinalityEstimator with at most 32-bit wide values. [#METR-17276] 2015-07-29 20:06:39 +03:00
Alexey Arno
99e2b241c0 dbms: Server: Fixes. [#METR-17276] 2015-07-29 17:53:34 +03:00
Alexey Arno
4da092418e dbms: Server: Fixes. [#METR-17276] 2015-07-29 17:14:44 +03:00
Alexey Milovidov
6bdcf3a9ae dbms: fixed test [#METR-2944]. 2015-07-27 21:05:32 +03:00
Alexey Milovidov
f98ab0c9c1 dbms: allowed to cancel query while sending external tables data [#METR-15144]. 2015-07-27 20:36:52 +03:00
Alexey Milovidov
fc49f1ab55 dbms: added tests [#METR-17491]. 2015-07-27 19:57:02 +03:00
Alexey Milovidov
e3b5bc0ea6 dbms: fixed segfault when using INSERT SELECT or CREATE AS SELECT with extremes=1 or WITH TOTALS [#METR-17491]. 2015-07-27 18:51:37 +03:00
Alexey Milovidov
bc6598371c dbms: fixed comment [#METR-2944]. 2015-07-27 16:36:22 +03:00
Alexey Milovidov
99d64cbc7f Merge 2015-07-26 15:06:29 +03:00
Alexey Milovidov
38d6128150 dbms: added column sizes to system.columns table [#METR-17475]. 2015-07-26 14:34:41 +03:00
Alexey Milovidov
c5570f3f89 dbms: little better [#METR-17472]. 2015-07-26 14:07:03 +03:00
Alexey Milovidov
0439ef5f7f dbms: implemented LEFT ARRAY JOIN [#METR-17474]. 2015-07-26 13:54:45 +03:00
Alexey Milovidov
5c2b5ffb10 dbms: added function emptyArrayToSingle [#METR-17474]. 2015-07-26 13:40:32 +03:00
Alexey Milovidov
6f2eda117e dbms: fixed error [#METR-17472]. 2015-07-26 11:28:12 +03:00
Alexey Milovidov
323188bd29 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 11:16:39 +03:00
Alexey Milovidov
8e44832c85 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 10:55:48 +03:00
Alexey Milovidov
b87857152b dbms: fixed error in prev. revision [#METR-17472]. 2015-07-26 10:08:46 +03:00
Alexey Milovidov
35b55b7e4f dbms: added tests; fixed error in prev. revision [#METR-17472]. 2015-07-25 14:59:21 +03:00
Alexey Milovidov
80ce5f1f65 dbms: scalar subqueries: initial implementation [#METR-17472]. 2015-07-25 14:47:50 +03:00
Alexey Milovidov
d9e76da292 dbms: added support for multiquery in interactive mode [#METR-17471]. 2015-07-25 13:58:41 +03:00
Alexey Milovidov
6acbf3db3e dbms: fixed progress bar for INSERT SELECT and CREATE AS SELECT queries [#METR-17470]. 2015-07-25 13:38:52 +03:00
Alexey Milovidov
e3449cae83 dbms: added progress for query CREATE AS SELECT [#METR-17470]. 2015-07-25 12:56:56 +03:00
Alexey Milovidov
39bc10041d dbms: generating query_id [#METR-17469]. 2015-07-25 12:49:09 +03:00
Alexey Milovidov
007ecde455 dbms: Client: allowed to paste multi-line queries even in single-line mode [#METR-2944]. 2015-07-25 08:55:40 +03:00
Alexey Milovidov
0c9c9fcead dbms: added test [#METR-17461]. 2015-07-24 22:24:56 +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 Arno
b3bcc4f668 dbms: Server: Various optimizations. [#METR-17276] 2015-07-24 19:46:00 +03:00
Andrey Mironov
9fea075cb0 Merge 2015-07-24 17:46:29 +03:00
Alexey Milovidov
aa785f3481 dbms: added tests [#METR-15418]. 2015-07-24 00:30:34 +03:00
Alexey Milovidov
57a91256a2 dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:19:30 +03:00
Alexey Milovidov
fb7520d2cd dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:03:51 +03:00
Alexey Milovidov
763fe6fb93 dbms: added CROSS JOIN [#METR-16893]. 2015-07-23 23:23:24 +03:00
Andrey Mironov
28d333adff Merge 2015-07-23 20:54:07 +03:00
Andrey Mironov
9a54c18a8d Merge 2015-07-23 16:37:09 +03:00
Andrey Mironov
defba956d9 Merge 2015-07-23 16:11:27 +03:00
Alexey Milovidov
6f70e8e05c dbms: added comment [#METR-2944]. 2015-07-23 14:11:41 +03:00
Alexey Milovidov
b5b40a9a7a dbms: added function arrayUniq [#METR-17429]. 2015-07-23 14:11:10 +03:00
Alexey Milovidov
f4d5b5e3b8 dbms: arrayUniq: development [#METR-17429]. 2015-07-23 12:39:21 +03:00
Alexey Milovidov
0f954021cb dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 23:54:42 +03:00
Alexey Milovidov
d660d987ce dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 22:43:09 +03:00
Alexey Arno
4bf6fe2070 dbms: Server: Feature development. [#METR-17276] 2015-07-22 18:25:59 +03:00
Alexey Arno
45d8bebff6 dbms: Server: Squeezed most of the fields into a 8-byte memory chunk. [#METR-17276] 2015-07-22 17:12:34 +03:00
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
Andrey Mironov
a27057d4b9 Merge 2015-07-08 20:59:44 +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
Andrey Mironov
a5bfc70920 Merge 2015-07-07 18:30:10 +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
Andrey Mironov
85d2dbcd76 Merge 2015-06-29 13:49:24 +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
Andrey Mironov
54d5517757 Merge 2015-06-24 20:05:40 +03:00
Andrey Mironov
aa7fe63962 dbms: temporarily add merge_tree_uniform_read_distribution setting. [#METR-16457] 2015-06-24 16:22:31 +03:00
Andrey Mironov
b18764404a Merge 2015-06-24 14:03:53 +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
Alexey Milovidov
fc9bbaa2c1 dbms: added test [#METR-16700]. 2015-06-18 00:11:03 +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
Alexey Milovidov
5c7dccebc1 dbms: allowed to compare Date and DateTime with strings in IN [#METR-2944]. 2015-06-16 21:50:44 +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
7b76ff3118 dbms: additions to prev. revision [#METR-2944]. 2015-06-12 08:54:49 +03:00
Alexey Milovidov
779d85afc9 dbms: addition to prev. revision [#METR-2944]. 2015-06-12 08:19:18 +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
bff45a25fa dbms: improved type checking in IN [#METR-16793]. 2015-06-12 02:09:56 +03:00
Pavel Kartavyy
84c2351774 remove old todo 2015-06-11 11:02:29 +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
Andrey Mironov
c4d1887a6f dbms: correctly (I hope) determine PREWHERE dependencies for defaults [#METR-16589] 2015-06-10 17:49:38 +03:00
Andrey Mironov
ea4f4420ba dbms: replace old lower/upper(UTF8) with vectorized ones [#METR-14764] 2015-06-10 15:47:27 +03:00
Pavel Kartavyy
4463a747da ReadHelpers: add assertChar function [#METR-15514] 2015-06-10 11:14:46 +03:00
Pavel Kartavyy
6d71c367ed WriteHelpers: add template specialization for const char * [#METR-15514] 2015-06-10 11:11:32 +03:00
Alexey Milovidov
b2bfa55a37 dbms: fixed tests [#METR-16762]. 2015-06-10 02:54:37 +03:00
Alexey Milovidov
9237e308fb dbms: JOIN: added checking of types of key columns [#METR-16762]. 2015-06-10 02:50:22 +03:00
Alexey Milovidov
161d30c902 dbms: adding checking of types when JOIN (incomplete) [#METR-16762]. 2015-06-10 00:34:45 +03:00
Alexey Milovidov
b417ef015f dbms: added test [#METR-16762]. 2015-06-09 23:56:40 +03:00
Alexey Milovidov
d1df9bd43b dbms: Join: added support for constant keys [#METR-16762]. 2015-06-09 23:55:15 +03:00
Alexey Milovidov
c65b2f6a16 dbms: added test [#METR-16722]. 2015-06-09 22:51:45 +03:00
Alexey Milovidov
18a8e1f0ca dbms: StorageBuffer: added missing support for defaults [#METR-16722]. 2015-06-09 22:43:06 +03:00
Alexey Milovidov
b64f094d84 dbms: tiny improvement [#METR-2944]. 2015-06-09 21:58:18 +03:00
Andrey Mironov
4fca014e1b dbms: reload initially failed dictionaries with exponential backoff [#METR-16702] 2015-06-09 19:18:49 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
0b3c071eb9 dbms: removed useless code [#METR-16739]. 2015-06-08 23:19:28 +03:00
Andrey Mironov
432687925c dbms: prevent moving array join-ed columns to PREWHERE. No diagnostic for ExpressionAnalyzer yet though [#METR-16525] 2015-06-08 19:05:44 +03:00
Andrey Mironov
5a60c588bf dbms: ExpressionAnalyzer: redundant null check eliminated, refactoring 2015-06-08 18:22:04 +03:00
Alexey Milovidov
97782b4855 dbms: fixed error with memory tracking [#METR-16433]. 2015-06-08 07:59:45 +03:00
Alexey Milovidov
51be2693ee dbms: addition to SETTINGS [#METR-16354]. 2015-06-06 23:00:08 +03:00
Alexey Milovidov
557b60a19d dbms: fixed tiny error [#METR-15933]. 2015-06-06 22:59:16 +03:00
Alexey Milovidov
af3ccde339 dbms: section SETTINGS: added tests [#METR-16354]. 2015-06-06 04:14:56 +03:00