alexey-milovidov
2aa255f8b0
Update InterpreterCreateQuery.cpp
2018-10-10 16:23:06 +03:00
Vadim
56bfc25d9a
Update InterpreterCreateQuery.cpp
2018-10-10 16:15:17 +03:00
Vadim
834267054e
Update InterpreterCreateQuery.cpp
2018-10-10 16:14:29 +03:00
VadimPE
779a178347
CLICKHOUSE-3021 fix bug with unsupported value in CREATE TABLE
2018-10-10 15:50:29 +03:00
chertus
c7bf0e77ea
add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282]
2018-10-09 19:50:42 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Anton Popov
f550b21a8f
Merge branch 'master' into CLICKHOUSE-3527
2018-09-18 21:35:54 +03:00
CurtizJ
3177f3f6a9
update ddl guard
2018-09-18 21:33:15 +03:00
Alexey Milovidov
59f8313b83
utils/check-style/check-style
2018-09-13 06:34:58 +03:00
alexey-milovidov
3bad4cee5c
Merge pull request #3098 from zhang2014/fix/ISSUES-2560
...
ISSUES-2560 fix crash when create temporary with in clause
2018-09-13 03:09:29 +03:00
CurtizJ
c1ed0bb86a
add setting allow_ddl
2018-09-11 21:37:19 +03:00
Anton Popov
2194d4a109
Update InterpreterCreateQuery.cpp
2018-09-11 17:43:30 +03:00
CurtizJ
4ac59b471a
fix race while parallel create database
2018-09-11 17:33:06 +03:00
zhang2014
5834b42083
ISSUES-2560 fix crash when create temporary with in clause
2018-09-11 19:31:59 +08:00
chertus
0b35cdae69
refactoring: add some sugar in type checks [CLICKHOUSE-0002]
2018-09-07 17:37:26 +03:00
Alexey Milovidov
199d8734f9
Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939]
2018-09-07 04:39:48 +03:00
chertus
0581545cba
disable Decimal Comparison and Conditional compilation [CLICKHOUSE-3765]
2018-09-05 17:56:55 +03:00
Alexey Milovidov
2581d88f0e
Better error message: avoid confusion when column is named a [#CLICKHOUSE-3]
2018-08-28 23:39:18 +03:00
chertus
8c54b480bc
minor fix
2018-08-14 16:26:23 +03:00
chertus
74823c8c17
add allow_experimental_decimal to settings
2018-08-14 15:51:45 +03:00
Nikolai Kochetov
5d5344f106
Added allow_experimental_low_cardinality_type setting.
2018-08-13 20:02:54 +03:00
Alexey Milovidov
8690d596b0
Miscellaneous [#CLICKHOUSE-2]
2018-05-13 12:32:56 +03:00
Alexey Milovidov
956128a67a
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:11 +03:00
alexey-milovidov
089e71d9a5
Merge pull request #2235 from yandex/small-enhancements
...
Small enhancements
2018-04-17 22:45:01 +03:00
Vitaliy Lyudvichenko
400ad55754
Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
...
Resolves #2189
2018-04-17 22:33:58 +03:00
Nikolai Kochetov
9e05052c2a
merged with master
2018-04-16 18:35:11 +03:00
Nikolai Kochetov
7b8a306e34
minor fixes
2018-04-16 18:11:13 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database
2018-03-29 03:01:07 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
...
Show create database
2018-03-28 05:29:36 +03:00
Alexey Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +03:00
Kirill Shvakov
109b73b947
fix CREATE TEMPORARY TABLE IF NOT EXISTS
2018-03-17 01:55:07 +03:00
Nikolai Kochetov
d6e9d08d5e
getCreateTableQuery and getCreateDatabaseQuery [#CLICKHOUSE-3590]
2018-03-14 15:37:38 +03:00
Alexey Zatelepin
fdffbe53ac
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
2018-03-13 17:41:25 +03:00
Alexey Zatelepin
de1db216a5
getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241]
2018-03-12 23:21:54 +03:00
Alexey Zatelepin
78d92f6794
add some useful methods, rename for clarity [#CLICKHOUSE-3241]
2018-03-12 22:10:13 +03:00
Alexey Zatelepin
71642b0880
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
2018-03-12 22:07:48 +03:00
Alexey Milovidov
5ff433b670
Merged Limits to Settings [#CLICKHOUSE-2021]
2018-03-11 03:15:26 +03:00
alexey-milovidov
1ecb9dac72
Merge pull request #1901 from zhang2014/fix/ISSUES-117
...
ISSUES-117 add show create & exist temporary table
2018-03-07 22:53:11 +03:00
Alexey Milovidov
5fbc1a1ee5
Fixed regression: cannot CREATE SELECT using HTTP interface [#CLICKHOUSE-2]
2018-03-07 21:53:21 +03:00
zhang2014
361a220743
Merge branch 'master' into fix/ISSUES-117
2018-03-02 19:06:11 +08:00
Alexey Milovidov
7526d65cff
Better UNION ALL: development #1947
2018-02-27 22:38:59 +03:00
Alexey Milovidov
601ff1eee4
Simplification of AST #1947
2018-02-26 06:37:08 +03:00
alexey-milovidov
2acdba3781
Merge pull request #1943 from yandex/add_path_to_system_tables_and_databases
...
Add path to system tables and databases
2018-02-22 19:26:19 +03:00
Nikolai Kochetov
a75e095a80
added data_path and metadata_path to system.tables
2018-02-22 13:03:35 +03:00
Alexey Milovidov
cd7a4de412
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 06:00:16 +03:00
Alexey Milovidov
fa50fe80a0
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 03:45:32 +03:00
Alexey Milovidov
921e09b5f8
Merge branch 'master' into header-in-input-streams
2018-02-15 19:20:36 +03:00
zhang2014
b89268ceb8
ISSUES-117 add show create & exist temporary table
2018-02-14 12:00:37 +08:00
Vitaliy Lyudvichenko
56add902d4
Removed superfluous FORMAT statements in .sql files. [#CLICKHOUSE-3]
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
1000328571
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-22 20:31:08 +03:00
Alexey Milovidov
9a02d4f5ff
Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams
2018-01-20 04:20:40 +03:00
alexey-milovidov
1f9ea8b6b0
Merge pull request #1721 from zhang2014/fix/ISSUES-957
...
ISSUES-957 fix not work when materialized columns with buff table
2018-01-19 21:50:26 +03:00
Alexey Milovidov
9f57a1f7a5
Fixed error: if default user had readonly accesss, the server could not start [#CLICKHOUSE-2]
2018-01-19 02:40:32 +03:00
zhang2014
66dd568e64
ISSUES-957 update condition & test
2018-01-12 21:03:35 +08:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Vitaliy Lyudvichenko
c818beedcb
Make data_path creation for Databases optional. [#CLICKHOUSE-2]
2018-01-11 21:55:43 +03:00
zhang2014
fc62a3677c
ISSUES-957 update setting desc & add condition for insert pipline
2018-01-10 13:26:40 +08:00
Alexey Milovidov
12c521fa25
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-07 03:35:44 +03:00
zhang2014
6fe64aa346
ISSUES-957 fix not work when materialized columns with buff table
2018-01-01 19:54:14 +08:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
798299ba89
Merge branch 'aavdonkin-master'
2017-12-28 07:33:55 +03:00
Alexey Milovidov
b2fcf06353
Merging [#CLICKHOUSE-3114]
2017-12-27 00:34:06 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Alexey Milovidov
bcfde7c6c0
Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2].
2017-12-25 21:58:39 +03:00
Alexey Milovidov
5e39b55f60
Added PR changes #1676
2017-12-22 22:20:18 +03:00
Kirill Shvakov
d40d0657e0
Merge branch 'master' of https://github.com/yandex/ClickHouse
2017-12-20 10:21:25 +02:00
Kirill Shvakov
59aa1359c8
Access to TEMPORARY TABLES for read-only users
2017-12-20 09:52:06 +02:00
alexey-milovidov
575a67b5d2
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-04 23:34:27 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Nikolai Kochetov
470c633e09
merged with master
2017-12-01 16:33:47 +03:00
Alexey Zatelepin
b2963d4c60
add current database to a CREATE SELECT query only for views [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
Alexey Zatelepin
d6b82a28fd
clone query when populating MaterializedView so that it is not garbled [#CLICKHOUSE-3412]
2017-11-05 20:50:12 +03:00
Nikolai Kochetov
1cee62eb0a
supported table_function in insert query [#CLICKHOUSE-3397]
2017-11-03 16:25:39 +03:00
Alexey Zatelepin
f2ebffb7f0
save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2]
2017-10-30 21:39:39 +03:00
Alexey Milovidov
5ab78c249d
Fixed build after merge [#CLICKHOUSE-2].
2017-10-28 00:18:06 +03:00
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to
2017-10-27 23:21:27 +03:00
Alexey Zatelepin
88c4ea1ac3
allow specifying ENGINE for CREATE TEMPORARY TABLE (but only if it is Memory) [#CLICKHOUSE-2]
2017-10-26 15:15:33 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
Marek Vavruša
d942ca0c0b
Updated exceptions and added comments.
2017-10-24 17:57:03 -07:00
alexey-milovidov
b5155916a8
Merge branch 'master' into materialized-view-to
2017-10-24 22:39:24 +03:00
Marek Vavruša
5f53df7dbe
ParserCreateQuery: allow ATTACH TABLE x shorthand statement
...
Allow `ATTACH TABLE [db.]name` if the table was previously detached,
an the table structure can be read from disk. This makes reattaching
tables less cumbersome:
```
CREATE TABLE test.t (x UInt8) ENGINE = Null;
DETACH TABLE test.t;
ATTACH TABLE test.t;
```
2017-10-21 13:38:39 -07:00
Marek Vavruša
975a7ada42
StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
...
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
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