Alexey Zatelepin
1f76900500
move CREATE query rewriting for views to Interpreter [#CLICKHOUSE-2]
2017-10-20 21:28:43 +03:00
Alexey Zatelepin
6b9ead4bd8
parse PARTITION BY, ORDER BY, SAMPLE BY, SETTINGS clauses in a storage definition [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
Vadim Skipin
e0a1e6982b
Context parameter added to the IDatabase methods
2017-09-11 21:29:26 +03:00
Vitaliy Lyudvichenko
566160c048
Use FIFO lock in IStorage. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
6578fb2645
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:39:24 +03:00
Alexey Milovidov
5c3ca0c16e
Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
48ade83090
Parsers refactoring. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
aa7504a7f5
Distributed DDL PR rebase. [#CLICKHOUSE-5]
2017-06-01 13:49:19 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
38d25022c6
Comments [#CLICKHOUSE-3].
2017-01-23 19:00:26 +03:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4cf43a7e79
Fixed error when table couldn't alter itself in constructor [#METR-21479].
2016-06-10 23:46:58 +03:00
Alexey Milovidov
f1b253680f
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:30:15 +03:00
Alexey Milovidov
128f4a963c
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:25:09 +03:00
Alexey Milovidov
9eb249afa6
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:19:27 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +03:00
Alexey Milovidov
8c4abcdd43
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:42:22 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
6863e72f3d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:15:36 +03:00
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