Commit Graph

314 Commits

Author SHA1 Message Date
Andrey Mironov
3ebfd2fb7f dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6 dbms: stop merges on ALTER. [#METR-14032] 2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045 Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
fc9472ba47 dbms: pass proper context into Storage::read(). [#METR-14179] 2014-12-16 15:40:25 +03:00
Alexey Milovidov
09076b30d5 Merge 2014-12-12 23:50:32 +03:00
Alexey Milovidov
dac2ff8920 dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:06:22 +03:00
Alexey Milovidov
03a21823db dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:04:13 +03:00
Alexey Milovidov
2aa2cb18c4 dbms: fixed error with re-initializing session in ZK [#METR-14238]. 2014-12-11 04:56:42 +03:00
Andrey Mironov
c21502e70f dbms: store checksums in binary format. [#MTRSADMIN-879] 2014-12-09 16:58:19 +03:00
Alexey Milovidov
f175ec58e0 dbms: tiny improvement [#METR-2944]. 2014-12-08 01:59:00 +03:00
Alexey Milovidov
5fae38cb97 dbms: tiny improvement [#METR-2944]. 2014-11-30 10:00:05 +03:00
Alexey Milovidov
3a38517f86 dbms: addition to prev. revision [#METR-13936]. 2014-11-30 08:43:04 +03:00
Alexey Milovidov
82f9e253a1 Merge 2014-11-30 08:11:04 +03:00
Alexey Milovidov
a359b09c83 dbms: fixed misleading variable name [#METR-2944]. 2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1 dbms: fixed one of errors [#METR-13979]. 2014-11-28 23:45:33 +03:00
Alexey Milovidov
d7a1abbbdc Merge 2014-11-22 05:22:30 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Alexey Milovidov
a7b4903f14 dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831]. 2014-11-19 23:40:51 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
65629ef560 Merge 2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7 dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739] 2014-11-11 18:22:39 +03:00
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068 dbms: more sane [#METR-13554]. 2014-11-06 06:38:10 +03:00
Alexey Milovidov
0045133b0e dbms: prepared for fully-functional progress bar [#METR-2944]. 2014-10-25 22:33:52 +04:00
Alexey Milovidov
4eba9dc56c dbms: treat SAMPLE 1 as no-op [#METR-2944]. 2014-10-23 23:16:43 +04:00
Andrey Mironov
847b91614a dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739] 2014-10-21 16:11:20 +04:00
Alexey Milovidov
2c23fb4d87 dbms: tiny modifications [#METR-2944]. 2014-10-19 01:46:05 +04:00
Alexey Milovidov
d3664eac89 dbms: added setting replication_alter_partitions_sync [#METR-13158]. 2014-10-18 23:14:09 +04:00
Alexey Milovidov
f26b265eed Merge 2014-10-18 21:37:55 +04:00
Alexey Milovidov
a097d24644 dbms: moved some code to separate file [#METR-13153]. 2014-10-17 05:05:51 +04:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7 Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807]. 2014-10-16 05:21:03 +04:00
Alexey Milovidov
25b474bd81 dbms: fixed subtle error [#METR-13153]. 2014-10-15 17:38:09 +04:00
Alexey Milovidov
3d7639e5f1 dbms: little better [#METR-13153]. 2014-10-15 05:22:06 +04:00
Alexey Milovidov
5fc32bb267 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 22:01:58 +04:00
Alexey Milovidov
21383c5475 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 21:28:59 +04:00
Alexey Milovidov
54636994ef dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-10 04:46:37 +04:00
Alexey Milovidov
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +04:00
Alexey Milovidov
bb60b4e859 dbms: fixed bad code [#METR-12726]. 2014-10-07 22:42:35 +04:00
Alexey Milovidov
ee52328600 dbms: fixed error with index and NOT [#METR-13066]. 2014-10-06 09:49:31 +04:00
Alexey Milovidov
ec9fb6f600 dbms: fixed error in prev. revision [#METR-12524]. 2014-10-03 23:38:51 +04:00
Alexey Milovidov
90d8096a0e Merge 2014-10-03 21:57:01 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30:10 +04:00
Andrey Mironov
468b7af64e Merge 2014-10-03 14:19:34 +04:00
Andrey Mironov
47629b31cd fix optimize_move_to_prewhere, alter query before any other manipulations. #[METR-13020] 2014-10-03 13:17:06 +04:00
Andrey Mironov
59ae69c5e9 rename optimization setting to optimize_move_to_prewhere 2014-10-02 13:48:53 +04:00
Andrey Mironov
192dde9b36 Merge 2014-10-01 20:47:36 +04:00
Andrey Mironov
5083090f8d Merge 2014-10-01 20:39:32 +04:00
Andrey Mironov
5dde67112d remove std::cout loggin 2014-10-01 18:12:06 +04:00
Andrey Mironov
aebc4f0f48 add merge_tree_optimize_where setting, default to false. [#METR-11900] 2014-10-01 17:51:44 +04:00
Alexey Milovidov
d6a2cc33aa dbms: tiny modifications [#METR-12784]. 2014-10-01 04:10:35 +04:00
Alexey Milovidov
4b83a8d3b3 dbms: tiny modifications [#METR-12784]. 2014-10-01 00:26:10 +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
Alexey Milovidov
995bc9a5dd dbms: investigation [#METR-12784]. 2014-09-30 00:26:46 +04:00
Alexey Milovidov
e3ac086ff0 Merge 2014-09-29 09:03:17 +04:00
Alexey Milovidov
af02e67992 dbms: tiny modification [#METR-2944]. 2014-09-29 09:03:03 +04:00
Alexey Milovidov
20de7e1003 dbms: tiny modification (more compatible) [#METR-12784]. 2014-09-26 20:11:30 +04:00
Alexey Milovidov
ba0191d0fc dbms: better observability [#METR-12784]. 2014-09-25 03:35:27 +04:00
Alexey Milovidov
463dfe5ea9 Merge 2014-09-23 23:47:25 +04:00
Andrey Mironov
bc1587a192 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
0f0c10a62d move single condition from WHERE to PREWHERE, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
86beda3111 Merge 2014-09-23 15:36:01 +04:00
Andrey Mironov
0fb1912d7c WHERE condition recognition. [#METR-11900] 2014-09-23 15:36:01 +04:00
Alexey Milovidov
5cc3316485 dbms: fixed tiny error in log message [#METR-2944]. 2014-09-19 22:56:20 +04:00
Andrey Mironov
e954fa6d00 add elapsed and progress rows to system.merges. [#METR-12574]
Fix data-race introduced due to misconception of atomic instructions on integers.
2014-09-18 14:23:12 +04:00
Alexey Milovidov
f2c0ba3ba2 dbms: fixed error with merges [#METR-12767]. 2014-09-18 03:57:25 +04:00
Alexey Milovidov
eca407e61a Revert "dbms: fixed high CPU usage on failed INSERTs [#METR-12726]."
This reverts commit 49cf3bbd0d8af92a756b46039a7a52fa81992765.
2014-09-17 06:36:32 +04:00
Alexey Milovidov
587820aab9 dbms: fixed high CPU usage on failed INSERTs [#METR-12726]. 2014-09-17 05:38:08 +04:00
Andrey Mironov
f6f7004684 Merge 2014-09-16 14:24:33 +04:00
Alexey Milovidov
4d01c0c7d0 dbms: addition to prev. revision [#METR-12715]. 2014-09-13 22:59:12 +04:00
Alexey Milovidov
40d6f26ed7 dbms: improved performance with very small INSERTs [#METR-12715]. 2014-09-13 22:34:08 +04:00
Alexey Milovidov
b4952faf84 dbms: improvement [#METR-12509]. 2014-09-13 00:29:29 +04:00
Andrey Mironov
09a570ffc0 Merge 2014-09-12 20:05:29 +04:00
Andrey Mironov
e3d8e4e48b initial implementation. [#METR-12574] 2014-09-10 15:34:26 +04:00
Alexey Milovidov
8cda8c9190 dbms: probably fixed error [#METR-12572]. 2014-09-03 06:32:23 +04:00
Alexey Milovidov
f2b967ab06 Merge 2014-08-14 11:25:21 +04:00
Alexey Milovidov
7af08f5347 Merge 2014-08-14 05:37:46 +04:00
Michael Kolupaev
f0d2d918c7 Merge 2014-08-13 12:53:38 +04:00
Michael Kolupaev
d9ae9876ce Merge 2014-08-13 12:08:40 +04:00
Michael Kolupaev
5bbb6dc090 some grammar fixes. [#METR-2807] 2014-08-12 13:35:15 +04:00
Michael Kolupaev
71b90ea1d4 Merge 2014-08-08 14:03:19 +04:00
Michael Kolupaev
9bec7e4a28 Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
7643a49b8e Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
306f405917 Merge 2014-08-06 13:25:41 +04:00
Michael Kolupaev
6fd0f417b4 Merge 2014-08-04 19:48:03 +04:00
Michael Kolupaev
e9ef0705f3 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
0ff7667654 Merge 2014-08-01 13:32:31 +04:00
Michael Kolupaev
b2f5b9bfab Merge 2014-07-30 16:22:12 +04:00
Michael Kolupaev
2bd9733223 Merge 2014-07-30 16:10:38 +04:00
Michael Kolupaev
9b3ce7f0f8 Refactored VirtualColumnUtils. [#METR-12036] 2014-07-29 19:21:09 +04:00
Michael Kolupaev
8a41d7985a Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2854ed49da Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
5c9f92ac1e Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
53a76dd348 Merge 2014-07-28 14:36:14 +04:00
Michael Kolupaev
13b9392241 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
85c722caf3 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
7b44c88b73 Merge 2014-07-23 20:31:38 +04:00
Michael Kolupaev
90dc182f12 Merge 2014-07-23 19:24:51 +04:00
Michael Kolupaev
272a2a8d9b Merge 2014-07-23 16:44:23 +04:00
Michael Kolupaev
bfe126ab04 Merge 2014-07-23 13:50:29 +04:00
Michael Kolupaev
f3285dba79 Merge 2014-07-23 13:15:41 +04:00
Michael Kolupaev
16e5a92ed9 Merge 2014-07-22 17:49:52 +04:00
Michael Kolupaev
1be80d3410 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
cb7aa9dd66 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
c8c5fb9d5b missing files for previous commit. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
8a2a34a8f3 Small improvements. [#METR-2807] 2014-07-21 13:11:20 +04:00
Michael Kolupaev
5e10dbca8a Merge 2014-07-17 17:41:47 +04:00
Michael Kolupaev
e493438564 Merge 2014-07-17 14:44:17 +04:00
Michael Kolupaev
67b76568d3 Merge 2014-07-17 13:38:31 +04:00
Michael Kolupaev
a6e31b55d5 Merge 2014-07-15 15:52:30 +04:00
Michael Kolupaev
9ced1d909e Merge 2014-07-15 15:12:58 +04:00
Michael Kolupaev
01094ec78d Merge 2014-07-15 14:13:36 +04:00
Michael Kolupaev
007c0cedc1 fixed build and a bunch of other stuff. [#METR-11886] 2014-07-14 19:49:03 +04:00
Michael Kolupaev
33955ee7dd Merge 2014-07-14 18:07:47 +04:00
Michael Kolupaev
62de3bc73a Merge 2014-07-14 16:24:22 +04:00
Michael Kolupaev
8f394dd852 Merge 2014-07-14 15:45:34 +04:00
Michael Kolupaev
d1edd92696 Merge 2014-07-11 17:34:12 +04:00
Michael Kolupaev
1005bbaa55 Merge 2014-07-11 17:11:06 +04:00
Michael Kolupaev
e26223d5c8 Merge 2014-07-11 16:47:45 +04:00
Michael Kolupaev
703b1d1c93 addition to previous commit. [#METR-11886] 2014-07-11 12:12:03 +04:00
Michael Kolupaev
ac7ee44128 Merge 2014-07-10 14:16:50 +04:00
Michael Kolupaev
a6fd9cd2bd Merge 2014-07-09 17:39:19 +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
Pavel Kartavyy
11162f6600 fix error in alter [#METR-11836] 2014-07-07 15:57:41 +04:00
Michael Kolupaev
557a48f9e5 Merge 2014-07-07 14:23:24 +04:00
Michael Kolupaev
faafb36596 Merge 2014-07-01 19:58:25 +04:00
Michael Kolupaev
68b077b8f5 Merge 2014-06-30 17:57:20 +04:00
Michael Kolupaev
310df87971 Merge 2014-06-30 14:02:25 +04:00
Michael Kolupaev
429b5f63b2 Merge 2014-06-27 21:58:26 +04:00
Michael Kolupaev
4baf5626cd small logging improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
653c138564 dbms: lowered max delay of insert [#METR-11520]. 2014-06-20 22:45:19 +04:00
Alexey Milovidov
a7c8921eb2 dbms: little more readable [#METR-11370]. 2014-06-12 22:41:09 +04:00
Alexey Milovidov
5a300300d2 dbms: fixed error in primary key usage [#METR-11540]. 2014-06-11 22:38:10 +04:00
Pavel Kartavyy
f27941b233 Merge 2014-06-10 19:23:49 +04:00
Sergey Fedorov
4fe8f37e03 Merge 2014-05-28 19:00:08 +04:00
Michael Kolupaev
3aad8dad8f Merge 2014-05-27 16:08:40 +04:00
Michael Kolupaev
cf2843d22c Merge 2014-05-27 14:03:13 +04:00
Michael Kolupaev
d51f9cae03 Merge 2014-05-27 12:43:01 +04:00
Michael Kolupaev
c1b265d4ac Merge 2014-05-26 22:16:05 +04:00
Sergey Fedorov
8f306f4238 Merge 2014-05-26 20:13:46 +04:00
Michael Kolupaev
7abd68d5ed dbms: added ActiveDataPartSet, currently unused. [#METR-10202] 2014-05-26 14:41:40 +04:00
Michael Kolupaev
c70e26bc70 Small improvement for previous commit. [#METR-11193] 2014-05-21 14:37:53 +04:00
Michael Kolupaev
df4c963bc1 Merge 2014-05-21 14:20:41 +04:00
Michael Kolupaev
06edb12dbe Merge 2014-05-16 19:55:57 +04:00
Michael Kolupaev
ed26098886 Merge 2014-05-14 21:51:43 +04:00
Michael Kolupaev
ea9e8964f0 Merge 2014-05-08 11:12:01 +04:00