Commit Graph

3068 Commits

Author SHA1 Message Date
Andrey Mironov
ee34ca31d8 dbms: add MD5, SHA1, SHA224, SHA256, IPv6NumToString. [#METR-13151] 2014-10-29 15:49:33 +03:00
Alexey Milovidov
37e599934f dbms: further [#METR-2944]. 2014-10-29 05:35:16 +03:00
Alexey Milovidov
425263970f dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944]. 2014-10-29 04:18:50 +03:00
Andrey Mironov
96d8c7484a dbms: add arrayFirst, arrayFirstIndex functions. [#METR-13151] 2014-10-28 18:49:33 +03:00
Andrey Mironov
484073a95c dbms: add emptyArrayType family of functions. #[METR-13151] 2014-10-28 16:43:51 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
5d21d75e85 dbms: addition to prev. revision [#METR-13297]. 2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
b3c060b89e dbms: fixed error [#METR-13297]. 2014-10-26 05:59:46 +03:00
Alexey Milovidov
fee4863a16 dbms: Client: tiny fix for progress-bar [#METR-2944]. 2014-10-26 05:01:21 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5 dbms: StorageBuffer: fixed error [#METR-13297]. 2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0 dbms: StorageBuffer: development [#METR-13297]. 2014-10-26 03:01:36 +03:00
Alexey Milovidov
08e93dbbd4 dbms: Client: showing progress bar for long-running queries [#METR-2944]. 2014-10-26 00:27:37 +04:00
Alexey Milovidov
0045133b0e dbms: prepared for fully-functional progress bar [#METR-2944]. 2014-10-25 22:33:52 +04:00
Andrey Mironov
2798a19944 Merge 2014-10-24 14:48:47 +04:00
Andrey Mironov
ec5aa734f9 dbms: cut coupling between dbms and dbms_functions. [#METR-12739] 2014-10-24 13:33:31 +04:00
Alexey Milovidov
199837baa4 dbms: fixed error in formatting [#METR-2944]. 2014-10-24 03:30:48 +04:00
Alexey Milovidov
59d4783d5c dbms: fixed bad code [#METR-2944]. 2014-10-24 02:32:17 +04:00
Alexey Milovidov
731fcf6b01 dbms: fixed error in move to PREWHERE [#METR-13020]. 2014-10-24 02:22:34 +04:00
Alexey Milovidov
b7d93bcb18 dbms: fixed error in prev. revision [#METR-13374]. 2014-10-24 02:19:57 +04:00
Alexey Milovidov
405d3ed16f metrage: fixed error [#METR-13374]. 2014-10-24 01:57:03 +04:00
Alexey Milovidov
4eba9dc56c dbms: treat SAMPLE 1 as no-op [#METR-2944]. 2014-10-23 23:16:43 +04:00
Andrey Mironov
934149d59a Merge 2014-10-23 16:16:24 +04:00
Andrey Mironov
2e7c880fe5 dbms: remove accidentally forgotten code. [#METR-13321] 2014-10-21 18:08:06 +04:00
Andrey Mironov
25639d9834 dbms: fix segmentation fault when left tuple of IN contains array types. [#METR-13321] 2014-10-21 17:07:38 +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
6575443ff9 dbms: Client: don't fall to std::terminate when bad arguments (tnx. egatov) [#METR-2944]. 2014-10-18 03:42:50 +04:00
Alexey Milovidov
172ac6715f dbms: tiny fix [#METR-2944]. 2014-10-18 01:44:56 +04:00
Andrey Mironov
8a8e5963c5 dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739] 2014-10-17 16:26:53 +04:00
Alexey Milovidov
a097d24644 dbms: moved some code to separate file [#METR-13153]. 2014-10-17 05:05:51 +04:00
Alexey Milovidov
ef82933bb3 zkutil: Async interface: development [#METR-2944]. 2014-10-17 00:05:26 +04:00
Andrey Mironov
1dfcaefc64 Merge 2014-10-16 20:55:23 +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
afc4f7fcf0 dbms: tiny modification [#METR-13153]. 2014-10-16 00:28:43 +04:00
Alexey Milovidov
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +04:00
Alexey Milovidov
2800bf4c30 dbms: modified criteria for automatic repair [#METR-13235]. 2014-10-15 23:42:32 +04:00
Alexey Milovidov
7ef7b5d81e dbms: allowed recursive macros [#METR-13146]. 2014-10-15 23:38:46 +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
8d0bdffdff dbms: addition to prev. revision [#METR-13204]. 2014-10-14 23:12:49 +04:00
Alexey Milovidov
1c16466214 dbms: fixed error when sorting result of ARRAY JOIN by empty arrays [#METR-13204]. 2014-10-14 22:39:38 +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
Andrey Mironov
43deee45c9 dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739] 2014-10-13 18:35:40 +04:00
Andrey Mironov
6f7997ce11 dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739] 2014-10-10 19:45:43 +04:00
Alexey Milovidov
54636994ef dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-10 04:46:37 +04:00
Alexey Milovidov
39bf7f3442 dbms: fixed error in system.zookeeper table [#METR-13153]. 2014-10-10 03:15:14 +04:00
Alexey Milovidov
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +04:00
Alexey Milovidov
24be223a48 dbms: added column 'partition' to table system.parts [#METR-13153]. 2014-10-10 02:54:17 +04:00
Alexey Milovidov
299f32dc14 dbms: addition to prev. revision [#METR-13129]. 2014-10-10 02:52:20 +04:00
Alexey Milovidov
110422dc21 dbms: fixed error with position of FINAL and SAMPLE in SELECT query [#METR-13129]. 2014-10-10 02:46:28 +04:00
Alexey Milovidov
c1601502bd dbms: FETCH PARTITION: parsing and dispatching [#METR-13153]. 2014-10-10 00:28:33 +04:00
Pavel Kartavyy
cc5629a06a Merge 2014-10-08 23:00:44 +04:00
Pavel Kartavyy
d9bba776eb cloud: fixed funny bug that cloud cannot be created if some host is unknown by DNS [#METR-10969] 2014-10-08 23:00:25 +04:00
Alexey Milovidov
58982a2530 dbms: fixed error [#METR-11587]. 2014-10-08 05:54:26 +04:00
Alexey Milovidov
150bde4e4f dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098]. 2014-10-08 03:08:56 +04:00
Alexey Milovidov
a6dcbb0371 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:22:09 +04:00
Alexey Milovidov
c74a5e1166 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:20:32 +04:00
Alexey Milovidov
82467eca80 dbms: improved checking types in IN [#METR-13087]. 2014-10-08 02:19:48 +04:00
Alexey Milovidov
49df24d891 dbms: system.replicas: improvement [#METR-12726]. 2014-10-08 00:04:40 +04:00
Alexey Milovidov
48ec87bc40 dbms: fixed error with system.replicas; improvement [#METR-12726]. 2014-10-07 22:44:03 +04:00
Alexey Milovidov
bb60b4e859 dbms: fixed bad code [#METR-12726]. 2014-10-07 22:42:35 +04:00
Pavel Kartavyy
10f948d3a3 Merge 2014-10-07 17:10:38 +04:00
Andrey Mironov
f675bed75b dbms: add partial validation of ALTER queries. [#METR-12739] 2014-10-07 13:09:59 +04:00
Alexey Milovidov
a800baba16 dbms: more neat [#METR-2944]. 2014-10-07 02:48:20 +04:00
Alexey Milovidov
3ff8c7ff26 dbms: fixed error [#METR-13087]. 2014-10-07 02:46:18 +04:00
Alexey Milovidov
390b2efc61 dbms: fixing error [#METR-13087] (incomplete). 2014-10-07 00:33:12 +04:00
Pavel Kartavyy
35bdcc715d Merge 2014-10-06 16:26:17 +04:00
Alexey Milovidov
ee52328600 dbms: fixed error with index and NOT [#METR-13066]. 2014-10-06 09:49:31 +04:00
Alexey Milovidov
468ea6e4be dbms: added table system.replicas [#METR-12726]. 2014-10-06 09:18:17 +04:00
Alexey Milovidov
0e923da9b3 dbms: added system.zookeeper table [#METR-2944]. 2014-10-06 07:49:56 +04:00
Alexey Milovidov
2c2d4ea921 dbms: added table system.settings [#METR-2944]. 2014-10-06 06:01:41 +04:00
Alexey Milovidov
a3dbff3fc4 dbms: easier to add more compression algrorithms [#METR-2944]. 2014-10-06 01:59:23 +04:00
Alexey Milovidov
ec9fb6f600 dbms: fixed error in prev. revision [#METR-12524]. 2014-10-03 23:38:51 +04:00
Alexey Milovidov
b274378e18 dbms: Client: more handy [#METR-12524]. 2014-10-03 23:09:15 +04:00
Alexey Milovidov
b4f45dc27a dbms: fixed double whitespace when formatting ALTER TABLE ATTACH/DETACH [#METR-12524]. 2014-10-03 22:57:05 +04:00
Alexey Milovidov
a2634c60d0 dbms: fixed error in prev. revisions [#METR-12524]. 2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224 Merge 2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e Merge 2014-10-03 21:57:01 +04:00
Alexey Milovidov
e84a0266e6 dbms: more consistent usage of override in Storages [#METR-12524]. 2014-10-03 21:55:36 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30:10 +04:00
Andrey Mironov
defc09ed40 Merge 2014-10-03 18:29:42 +04:00
Andrey Mironov
f7ce30aa9d dbms: support AddingDefaultBlock(Input|Output)Stream without ColumnDefaults 2014-10-03 14:25:05 +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
Alexey Milovidov
1da86169d6 dbms: more handy error message [#METR-2944]. 2014-10-03 03:31:18 +04:00
Alexey Milovidov
c1bb78df32 Merge 2014-10-02 23:20:39 +04:00
Alexey Milovidov
b470cb26b1 dbms: uniqUpTo: fixed error [#METR-13022]. 2014-10-02 23:20:09 +04:00
Andrey Mironov
9800d0d95f Merge 2014-10-02 22:34:49 +04:00
Pavel Kartavyy
7bb049e4e0 Merge 2014-10-02 20:07:18 +04:00
Andrey Mironov
59ae69c5e9 rename optimization setting to optimize_move_to_prewhere 2014-10-02 13:48:53 +04:00
Alexey Milovidov
6b6151d51f dbms: system.parts: more handy [#METR-12784]. 2014-10-01 22:40:43 +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