Commit Graph

347 Commits

Author SHA1 Message Date
Alexey Milovidov
61ae4e5547 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:15:50 +03:00
Alexey Milovidov
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
1f8f6fa06a Allowed concurrent CREATE TABLE IF NOT EXISTS if table exists [#METR-20704]. 2016-04-01 20:41:13 +03:00
Alexey Milovidov
bbdd0ca4d7 Database engines: development [#METR-19997]. 2016-03-21 15:57:12 +03:00
Alexey Milovidov
5fc44df6b5 Squashed commit of the following:
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 04:06:36 2016 +0300

    Database engines: development [#METR-19997].

commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 03:44:37 2016 +0300

    Database engines: development [#METR-19997].

commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:33:59 2016 +0300

    Database engines: development [#METR-19997].

commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:03:11 2016 +0300

    Database engines: development [#METR-19997].

commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 23:24:57 2016 +0300

    Database engines: development [#METR-19997].

commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 22:50:36 2016 +0300

    Database engines: development [#METR-19997].

commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 15:09:17 2016 +0300

    Database engines: development [#METR-19997].

commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:26:34 2016 +0300

    Database engines: development [#METR-19997].

commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:22:59 2016 +0300

    Database engines: development [#METR-19997].

commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 01:02:40 2016 +0300

    Database engines: development [#METR-19997].

commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 23:23:40 2016 +0300

    Database engines: development [#METR-19997].

commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 20:29:07 2016 +0300

    Database engines: development [#METR-19997].

commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 01:30:23 2016 +0300

    Database engines: development [#METR-19997].

commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 21:55:31 2016 +0300

    Database engines: development [#METR-19997].

commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 08:00:58 2016 +0300

    Database engines: development [#METR-19997].

commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:51:10 2016 +0300

    Database engines: development [#METR-19997].

commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:02:20 2016 +0300

    Reverted erroneous modification [#METR-19997].

commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 00:41:34 2016 +0300

    Database engines: development [#METR-19997].

commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Mar 15 00:41:48 2016 +0300

    Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Milovidov
4576a90ba0 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:05:42 +03:00
Alexey Milovidov
921000e9c5 dbms: fixed error [#METR-2944]. 2016-03-05 00:26:36 +03:00
Alexey Milovidov
0fbf3e4652 dbms: better [#METR-2944]. 2016-03-03 07:12:47 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Andrey Mironov
13f56d4465 dbms: use CAST internally whenever a conversion is required [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
8242d24d1d dbms: fix alters involving FixedString columns and defaults [#METR-18221] 2015-10-21 17:54:13 +03:00
Andrey Mironov
e42022adce dbms: allow CREATE TEMPORARY TABLE AS [#METR-18251] 2015-09-30 16:35:32 +03:00
Alexey Milovidov
75a16854db dbms: moved files [#METR-2944]. 2015-09-24 06:50:09 +03:00
Alexey Milovidov
fa9553307e dbms: fixed error [#METR-17286]. 2015-09-18 03:46:36 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +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
e3449cae83 dbms: added progress for query CREATE AS SELECT [#METR-17470]. 2015-07-25 12:56:56 +03:00
Alexey Milovidov
226731128b dbms: get rid of columns inside Context [#METR-15553]. 2015-07-15 04:26:35 +03:00
Alexey Milovidov
c757ab96c0 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:25:50 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Alexey Milovidov
c4ea83a906 dbms: cut dependencies [#METR-2944]. 2015-04-14 05:45:30 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +03:00
Andrey Mironov
82621ca5a1 fix type in comment 2015-04-01 14:45:01 +03:00
Andrey Mironov
bdd0b60c07 dbms: support FixedString in column default expressions 2015-04-01 14:45:00 +03:00
Andrey Mironov
8c62be82d1 dbms: make StorageFactory a singleton 2015-02-09 13:10:35 +03:00
Alexey Milovidov
8a1c22bf41 Fixed errors in clang (part 3) [#METR-2807]. 2015-01-21 07:17:02 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
b682e42e5a dbms: prohibit creating tables without physical columns. [#METR-12739] 2014-11-11 17:20:22 +03:00
Andrey Mironov
de271b753e dbms: allow creating tables with all columns set to default. [#METR-12739] 2014-11-11 17:11:49 +03:00
Alexey Milovidov
b3c060b89e dbms: fixed error [#METR-13297]. 2014-10-26 05:59:46 +03:00
Alexey Milovidov
2d5192c4a0 dbms: StorageBuffer: development [#METR-13297]. 2014-10-26 03:01:36 +03: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
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +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
Andrey Mironov
f675bed75b dbms: add partial validation of ALTER queries. [#METR-12739] 2014-10-07 13:09:59 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30: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
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
142d0a49c0 add ASTColumnDeclaration, corresponding formatAST, modify Interpreters. [#METR-12739] 2014-09-25 17:40:26 +04:00
Andrey Mironov
0a4e3f1280 add function currentDatabase(), allow string-expressions in place of database name 2014-09-24 15:53:41 +04:00
Michael Kolupaev
dfb21bcaff fixed segfault when creating materialized views. [#METR-11886] 2014-07-14 18:26:11 +04:00
Michael Kolupaev
ff64aeb036 Merge 2014-07-10 15:13:45 +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
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
5e153b2bb9 dbms: support for JOINs in parser [#METR-11370]. 2014-06-12 04:48:56 +04:00
Sergey Fedorov
cd48cb6cba dbms: extracting columns list from select query for storage view [METR-11084] 2014-05-16 15:06:31 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Sergey Fedorov
e426667931 dbms: fixes in create temporary table [METR-10071] 2014-04-01 17:41:03 +04:00
Sergey Fedorov
0898ccfeb4 dbms: fixed merging errors [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
6f85a12692 dbms: fixed variable names, temporary tables are now external tables, in distributed query external table now always will be send to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
27f081a382 dbms: create temporary table query, external tables from stdin [METR-10071] 2014-03-27 16:06:45 +04:00
Michael Kolupaev
e10125a052 Using IStorage locks properly in most places. Got rid of StoragePtr and DatabaseDropper. Drops are now synchronous. [#METR-10202] 2014-03-20 14:59:45 +04:00
Alexey Milovidov
88058d9971 dbms: improved performance of short queries [#METR-2944]. 2014-03-10 16:25:37 +04:00
Alexey Milovidov
fee77d6c98 dbms: Fixed error with incorrect handling of weird case (column names with whitespaces) [#METR-10225]. 2014-02-26 23:50:04 +04:00
Sergey Fedorov
6bf937e897 [materialized view]: Couple of changes in format and metadata [METR-9076] 2013-12-24 17:01:50 +00:00
Sergey Fedorov
205e22e0ba materialized view: added POPULATE option [#METR-9076] 2013-12-10 12:23:43 +00:00
Sergey Fedorov
ac21314784 dbms: Couple of unimportant fixes (includes, code simplification) in View and Materialized View [#METR-9076] 2013-11-15 09:43:50 +00:00
Sergey Fedorov
13bd27c498 dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076] 2013-11-13 14:39:48 +00:00
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +00:00
Vyacheslav Alipov
356f394db0 fixed CREATE DATABASE IF NOT EXISTS [#CONV-2807] 2013-06-25 12:03:36 +00:00
Alexey Milovidov
48c6b9f486 dbms: probably fixed error [#CONV-2944]. 2013-05-06 11:28:45 +00:00
Michael Kolupaev
9aec07070a Merge 2013-02-08 17:06:29 +00:00
Michael Kolupaev
6f2c6559c8 clickhouse: added Chunks storage [#CONV-6705]. 2013-02-07 13:03:19 +00:00
Michael Kolupaev
9b3b82c750 clickhouse: fixed segfault when a table is dropped while in use [#CONV-6561]. 2013-01-23 17:38:03 +00:00
Alexey Milovidov
1dc0831102 dbms: improved loading time [#CONV-2944]. 2013-01-17 20:31:44 +00:00
Alexey Milovidov
2076cc7d87 dbms: improved loading time [#CONV-2944]. 2013-01-17 20:21:03 +00:00
Alexey Milovidov
ae75c86be3 dbms: development [#CONV-2944]. 2012-08-21 15:14:04 +00:00
Alexey Milovidov
ce28910ad2 dbms: development [#CONV-2944]. 2012-08-20 20:17:21 +00:00
Alexey Milovidov
366f70b7f3 dbms: development [#CONV-2944]. 2012-08-20 19:21:04 +00:00
Alexey Milovidov
061a75785b dbms: development [#CONV-2944]. 2012-08-02 17:33:31 +00:00
Alexey Milovidov
8700cff3f3 dbms: development [#CONV-2944]. 2012-07-18 18:27:42 +00:00
Alexey Milovidov
d14b3ed4db dbms: development [#CONV-2944]. 2012-05-30 05:53:09 +00:00
Alexey Milovidov
039cf5ab06 dbms: development [#CONV-2944]. 2012-05-22 20:18:45 +00:00
Alexey Milovidov
2aa2af9950 dbms: development [#CONV-2944]. 2012-05-22 19:32:56 +00:00
Alexey Milovidov
7d9f303599 dbms: development [#CONV-2944]. 2012-03-05 00:09:41 +00:00
Alexey Milovidov
42abc4cebd dbms: development [#CONV-2944]. 2012-02-27 06:28:20 +00:00
Alexey Milovidov
aef03f0478 dbms: development [#CONV-2944]. 2011-11-06 20:47:07 +00:00
Alexey Milovidov
bf568aa887 dbms: development [#CONV-2944]. 2011-11-06 06:22:52 +00:00
Alexey Milovidov
c0c2ca630d dbms: development [#CONV-2944]. 2011-11-06 02:29:13 +00:00
Alexey Milovidov
d51ae544fc dbms: development [#CONV-2944]. 2011-11-05 23:31:19 +00:00
Alexey Milovidov
a5c139c325 dbms: development [#CONV-2944]. 2011-11-03 20:30:12 +00:00
Alexey Milovidov
d9e921a127 dbms: development [#CONV-2944]. 2011-11-01 17:57:37 +00:00
Alexey Milovidov
859a86b382 dbms: development [#CONV-2944]. 2011-11-01 17:12:11 +00:00
Alexey Milovidov
5bc7288e0d dbms: development [#CONV-2944]. 2011-11-01 15:38:01 +00:00
Alexey Milovidov
26c9af828e dbms: development [#CONV-2944]. 2011-11-01 15:16:04 +00:00
Alexey Milovidov
67b02812f6 dbms: development. 2011-10-31 17:55:06 +00:00
Alexey Milovidov
169ef6bf2e dbms: development [#CONV-2944]. 2011-10-31 17:30:44 +00:00
Alexey Milovidov
b1b0d3836a dbms: development [#CONV-2944]. 2011-10-31 06:37:12 +00:00
Alexey Milovidov
bdf0aee3c6 dbms: development [#CONV-2944]. 2011-10-30 05:19:41 +00:00
Alexey Milovidov
1ce1e53ed9 dbms: development [#CONV-2944]. 2011-10-24 12:10:59 +00:00
Alexey Milovidov
420e68e7c7 dbms: development [#CONV-2944]. 2011-08-28 05:13:24 +00:00
Alexey Milovidov
c972f291cb dbms: development [#CONV-2944]. 2011-08-19 18:31:14 +00:00
Alexey Milovidov
492cb89aa9 dbms: development [#CONV-2944]. 2011-08-18 20:33:20 +00:00