Commit Graph

131 Commits

Author SHA1 Message Date
alesapin
d5b4ddf6d8 Simplier alter modify logic 2020-02-19 17:49:59 +03:00
alesapin
28b2a03b08 First version 2020-02-19 17:49:45 +03:00
Nicolae Vartolomei
fd42d1ee87 ALTER <materialized view name> MODIFY QUERY <select_query>
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533.
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
alesapin
b29fa1b143
Merge pull request #8614 from ClickHouse/fix_alter_codec
Fix alter codec bug
2020-01-10 23:15:45 +03:00
alesapin
9d55de8aef Fix alter codec bug 2020-01-10 18:26:40 +03:00
Alexander Kuzmenkov
3999675383 In debug builds, treat LOGICAL_ERROR as an assertion failure. 2020-01-09 19:58:32 +03:00
alesapin
44370467f0 More comments 2019-12-29 14:25:26 +03:00
alesapin
5334103690 More usage of StorageInMemoryMetadata 2019-12-27 22:04:30 +03:00
alesapin
6916ac08c2 Rename fields 2019-12-27 17:46:11 +03:00
alesapin
716648bfa4 Something working 2019-12-27 17:36:59 +03:00
alesapin
d341b648d2 Better alter 2019-12-26 21:17:05 +03:00
alesapin
34d2afa354 Fix obvious bug 2019-12-24 23:03:33 +03:00
alesapin
05b933b1d3 Better 2019-12-24 21:07:51 +03:00
alesapin
25ecc38615 More correct separation between metadata and data alters for non replicated MergeTree. 2019-12-23 19:44:50 +03:00
alesapin
7382a9f3c3 Rename method for settings check 2019-09-01 00:15:40 +03:00
alesapin
808f4d0b8a Intermediate refactoring 2019-08-30 19:50:59 +03:00
alesapin
062034dfd8 Eventually merged with master 2019-08-26 13:07:32 +03:00
Gleb Novikov
86fecc7501 Merge branch 'master' into table-constraints 2019-08-20 12:17:56 +03:00
alesapin
e7542810bb Merge with master 2019-08-19 11:20:48 +03:00
alesapin
428c753ed7 Merge with master 2019-08-13 11:37:47 +03:00
Gleb Novikov
3b9e1f9bf7 Fixed getIdentifierName call in AlterCommand::parse 2019-08-11 13:39:17 +03:00
Gleb Novikov
381ea6cb6e Merge branch 'master' into table-constraints 2019-08-11 12:38:34 +03:00
Nikita Vasilev
75e381bde4 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-10 23:07:50 +03:00
Alexey Milovidov
a6e4b34ab4 Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
alesapin
e12cb8da6d Add some changes 2019-08-06 15:52:08 +03:00
Nikita Vasilev
7efb1bcb12 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-07-27 10:30:43 +03:00
alesapin
f7e0d17490 Fix some bugs 2019-07-24 18:22:16 +03:00
alesapin
8a00ce5ff1 Intermediate step 2019-07-24 15:56:39 +03:00
Gleb Novikov
3757aa9d02 More style fix 2019-07-06 23:30:48 +03:00
Gleb Novikov
430400c3c5 Style fix 2019-07-05 10:16:34 +03:00
Gleb Novikov
71c2ca0fe9 Merge branch 'master' into table-constraints 2019-07-04 22:40:00 +03:00
Gleb Novikov
ea4d42c3ac Merged DROP_(COLUMN|INDEX|CONSTRAINT) AST parsing into one block 2019-06-30 12:09:58 +02:00
Gleb Novikov
a146b7383e Merge branch 'master' into table-constraints 2019-06-30 11:32:02 +02:00
Nikita Vasilev
7b7517ff85 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-06-24 16:44:44 +03:00
Ivan Lezhankin
436052c67b Merge branch 'master' into issue-5286 2019-06-18 16:03:29 +03:00
Alexey Milovidov
b2100c7bcf Removed strange quoting style like `this'. See https://english.stackexchange.com/questions/17695/any-reference-on-the-usage-of-a-backtick-and-single-quotation-mark-like-this
Added backQuote and backQuoteIfNeed when required to correctly quote identifiers with proper escaping.
2019-06-15 15:06:22 +03:00
Ivan Lezhankin
97558c1b41 Merge remote-tracking branch 'upstream/master' into issue-5286 2019-06-10 14:15:14 +03:00
Gleb Novikov
b8385aae8c Merge branch 'master' into table-constraints 2019-06-05 15:33:07 +03:00
Gleb Novikov
8bd2c7b3a7 Fixed DROP INDEX IF EXISTS and added simple test 2019-06-04 00:08:52 +03:00
Gleb Novikov
33f0ebd8ab Brace style fix 2019-06-02 18:08:28 +03:00
Gleb Novikov
e7293486bd Added ALTER TABLE support to constraints (ADD CONSTRAINT, DROP CONSTRAINT) 2019-06-02 17:41:12 +03:00
Ivan Lezhankin
cf39c4cc47 Embed virtual columns into IStorage 2019-05-21 14:24:32 +03:00
Nikita Vasilev
ad07dd2e1f fix 2019-05-09 20:04:05 +03:00
Alexey Milovidov
0a8e888671 Fixed bad code 2019-05-03 03:26:46 +03:00
Alexey Milovidov
1be21e3cb6 Removed bad and useless code in ColumnsDescription 2019-05-02 00:43:05 +03:00
Anton Popov
7f93f9ad2f TTL for columns and tables (#4212)
Add TTL for columns and tables.
2019-04-15 12:30:45 +03:00
alesapin
42a0c2f194 Fix alter modify of codec when column type is not specified 2019-04-02 15:51:31 +03:00
alexey-milovidov
d047a62e31
Merge pull request #4790 from TCeason/fix_crash
Fix crash when distributed modify order by
2019-03-26 19:41:00 +03:00
tai
9d232778fc Fix crash when distributed modify order by
Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.
2019-03-26 13:33:39 +08:00
Alexey Zatelepin
304c67da99 Merge branch 'master' into fix-add-materialized-column-after
Conflicts:
	dbms/src/Interpreters/InterpreterCreateQuery.cpp
	dbms/src/Interpreters/InterpreterDescribeQuery.cpp
	dbms/src/Interpreters/interpretSubquery.cpp
	dbms/src/Storages/ColumnsDescription.cpp
2019-03-17 00:46:53 +03:00