Commit Graph

2074 Commits

Author SHA1 Message Date
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
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +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
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
Andrey Mironov
934149d59a Merge 2014-10-23 16:16:24 +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
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
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
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
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +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
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
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +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
150bde4e4f dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098]. 2014-10-08 03:08:56 +04:00
Alexey Milovidov
48ec87bc40 dbms: fixed error with system.replicas; improvement [#METR-12726]. 2014-10-07 22:44:03 +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
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
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
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
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
aebc4f0f48 add merge_tree_optimize_where setting, default to false. [#METR-11900] 2014-10-01 17:51:44 +04:00
Andrey Mironov
5f88c8ae81 always show default_type and default_expression columns for DESC TABLE query. [#METR-12739] 2014-10-01 15:17: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
34dba980c7 show defaulted columns info in DESC TABLE query output. [#METR-12739] 2014-09-30 07:48:40 +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
Andrey Mironov
3060ba9571 return ColumnDefaults from InterpreterCreateQuery::parseColumns. [#METR-12739] 2014-09-29 18:58:48 +04:00
Andrey Mironov
529674ce6a detect cycles, deduce and check types. [#METR-12739] 2014-09-29 17:36:30 +04:00
Andrey Mironov
1d04061a0e implement type-deduction and type-enforcing. [#METR-12739] 2014-09-25 19:01:09 +04:00
Andrey Mironov
cee035439e add makeASTFunction factory-function. #[NETR-12739] 2014-09-25 19:00:12 +04:00
Andrey Mironov
142d0a49c0 add ASTColumnDeclaration, corresponding formatAST, modify Interpreters. [#METR-12739] 2014-09-25 17:40:26 +04:00
Andrey Mironov
d1d9037053 Merge 2014-09-24 18:46:23 +04:00
Andrey Mironov
58dd0cbe50 extend parser for default column declaration support. [#METR-12739] 2014-09-24 18:44:57 +04:00
Andrey Mironov
f77ef5f84d rename evaluateDatabaseName function and header, add comments 2014-09-24 15:53:41 +04:00
Andrey Mironov
0a4e3f1280 add function currentDatabase(), allow string-expressions in place of database name 2014-09-24 15:53:41 +04:00
Andrey Mironov
c6048522d2 Merge 2014-09-23 21:24:39 +04:00
Andrey Mironov
9c5f8eadb3 Merge 2014-09-23 21:00:57 +04:00
Andrey Mironov
f9afc661d1 Merge 2014-09-23 15:36:02 +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
13870f5ba5 transform of non-good conditions, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
78aeb03095 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
8579036446 refactor, fix comment meaning. [#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
a81b5d7df9 dbms: additions to prev. revision [#METR-12857]. 2014-09-23 03:21:15 +04:00
Alexey Milovidov
41d2b30992 dbms: added function regionToDistrict [#METR-12826]. 2014-09-19 22:51:24 +04:00
Alexey Milovidov
81c268177b dbms: probably fixed error when writeSuffix method wasn't called when writing to table [#METR-12767]. 2014-09-18 23:49:31 +04:00
Alexey Milovidov
658ab39d41 dbms: removed misleading comment [#METR-12795]. 2014-09-18 22:12:07 +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
8505c84c23 dbms: throttling INSERTs early [#METR-12767]. 2014-09-18 02:57:02 +04:00
Alexey Milovidov
bd8d56512e dbms: FunctionsArithmetic: style [#METR-12575]. 2014-09-18 00:18:52 +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