Commit Graph

352 Commits

Author SHA1 Message Date
Alexander Tokmakov
0b70bffe36 use StorageID in views 2019-12-10 22:52:24 +03:00
Alexander Tokmakov
03b1a576ba refactor Context 2 2019-12-05 16:44:22 +03:00
Alexander Tokmakov
0bc2fabbdd refactor Context 1 2019-12-05 15:30:00 +03:00
Alexander Tokmakov
8e319aca97 better constructors of storages 2019-12-04 19:06:55 +03:00
Alexander Tokmakov
80e082d3e2 try fix backward compatibility 2019-11-28 23:18:45 +03:00
Alexander Tokmakov
8cba35bbab attempt to run tests 2019-11-26 22:06:19 +03:00
Alexander Tokmakov
ab4d452145 use UUIDs 2019-11-11 14:59:44 +03:00
Alexander Tokmakov
5059c78e81 Merge branch 'master' into database_atomic 2019-10-29 17:11:08 +03:00
Alexander Tokmakov
80c9b2ec1c make data path relative 2019-10-28 17:16:59 +03:00
Alexander Tokmakov
9c461ff143 refactor InterpreterCreateQuery::createTable(...) 2019-10-23 21:39:07 +03:00
Alexander Tokmakov
3eaa96e666 add UUID to ASTCreateQuery 2019-10-23 16:46:38 +03:00
alesapin
d3461f9d46 TODO comments 2019-10-22 14:03:16 +03:00
alesapin
f7043c38bd Less diff 2019-10-21 17:20:42 +03:00
alesapin
35e66d6696 Merge with master 2019-10-21 11:46:11 +03:00
alesapin
cdc195727e Fix some races from lazy load and add ugly interface to loader (need to be refactored) 2019-10-18 19:04:09 +03:00
alesapin
05392fd882 Fix deadlock, add test and refactoring 2019-10-17 20:18:54 +03:00
Ivan
e595df05d9
Fix CREATE TABLE AS from table with virtual columns (#7183)
* Disable undefined instrumentation for rdkafka
2019-10-17 14:12:35 +03:00
alesapin
01e23f0a22 Better load of dictionaries 2019-10-16 20:06:52 +03:00
alesapin
b4e0ded048 Almost working 2019-10-16 17:59:52 +03:00
alesapin
e690a3ca32 Half working code 2019-10-15 21:04:17 +03:00
alesapin
ae42dc0d4c Attach detach and introspection queries for dictionaries 2019-10-11 16:21:52 +03:00
alesapin
67fc3347c2 Preparing databases for dictionaries 2019-10-10 20:33:01 +03:00
Alexander Kuzmenkov
56b065881a Include FieldVisitors.h in less files. 2019-10-07 20:23:05 +03:00
alexey-milovidov
1dc58dcb15
Update InterpreterCreateQuery.cpp 2019-09-20 23:53:14 +03:00
Azat Khuzhin
b2a3db1048
Ignore indices for CREATE TABLE .. AS .. if storage do not support them 2019-09-19 23:55:38 +03:00
Alexey Milovidov
6e8b7b9c3b Fixed error 2019-08-26 05:53:42 +03:00
Alexey Milovidov
3fef8e92ad Merging CONSTRAINTS support 2019-08-25 00:20:20 +03:00
alexey-milovidov
308baa182e
Merge branch 'master' into table-constraints 2019-08-21 06:33:08 +03:00
Nikolai Kochetov
631bbde420 Merged with master. 2019-08-12 13:19:13 +03:00
Gleb Novikov
381ea6cb6e Merge branch 'master' into table-constraints 2019-08-11 12:38:34 +03:00
stavrolia
626b75b6a5 Fix behavior low cardinality setting in creating materialized view 2019-08-09 22:17:19 +03:00
Nikolai Kochetov
2ae3db7920 Merged with master. 2019-08-09 18:32:44 +03:00
alexey-milovidov
cd6c15b79f
Merge pull request #6057 from dimarub2000/master
CREATE TABLE AS table_function()
2019-07-23 02:50:08 +03:00
Dmitry Rubashkin
0320de9132 test and fixes 2019-07-22 16:49:16 +03:00
Dmitry Rubashkin
9ffbf65741 Fix of a fix 2019-07-22 15:50:10 +03:00
Dmitry Rubashkin
42efc1051e fixes of bad commit 2019-07-22 15:35:29 +03:00
Dmitry Rubashkin
d279a685a9 Merge branch 2019-07-22 15:31:17 +03:00
Dmitry Rubashkin
6c6af60194 Fixes after review 2019-07-22 15:18:53 +03:00
alexey-milovidov
b035edefea
Update InterpreterCreateQuery.cpp 2019-07-20 03:02:18 +03:00
Alexander Kuzmenkov
de72d117ce Fix a race condition in parallel table loading.
ThreadSanitizer reported that a data race occurs when we attach to a
database and load its tables concurrently. Remove the custom code that
waits for all tables to load, and replace it with a local thread pool
and its wait() method.

This changes observable behavior: before, we would load the tables
sequentially when loading the system database, or performing an ATTACH
DATABASE query. Now we always load tables of ordinary databases in
parallel.
2019-07-19 17:35:02 +03:00
Dmitry Rubashkin
1aca3da121 Fixed inegration 2019-07-19 16:28:28 +03:00
dimarub2000
20a846d753 Merge branch 'master' of github.com:yandex/ClickHouse 2019-07-18 21:52:18 +03:00
Dmitry Rubashkin
7382cb41fa CREATE TABLE AS table_function() 2019-07-18 21:29:49 +03:00
Alexey Milovidov
553e6a273e Two more fixes for PVS-Studio 2019-07-08 03:51:43 +03:00
Gleb Novikov
71c2ca0fe9 Merge branch 'master' into table-constraints 2019-07-04 22:40:00 +03:00
Vitaliy Zakaznikov
a363189dfc Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-07-01 18:05:14 -04:00
Gleb Novikov
a146b7383e Merge branch 'master' into table-constraints 2019-06-30 11:32:02 +02:00
Alexey Milovidov
864dacd112 Merging 2019-06-16 19:47:47 +03:00
Alexey Milovidov
f98d0a108f Removed useless header file 2019-06-16 15:16:16 +03:00
Vitaliy Zakaznikov
abc7c3f6c1 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-06-15 21:22:28 -04:00