Nikolai Kochetov
cca4d4e296
More comments and remove spaces.
2020-02-20 17:40:58 +03:00
Nikolai Kochetov
39916dd01a
Remove readWithProcessors from IStorage.
2020-02-19 19:09:31 +03:00
Nikolai Kochetov
a3c4b2e922
Remove readWithProcessors from IStorage.
2020-02-19 19:07:28 +03:00
Nikolai Kochetov
52a63275ea
Merge with master.
2020-02-14 20:47:39 +03:00
Artem Zuikov
bd6d9a427b
Some InterpreterSelectQuery refactoring ( #9035 )
...
move ExpressionActionsChain logic out of InterpreterSelectQuery
2020-02-10 18:50:12 +03:00
Nikolai Kochetov
0157de021a
Processors support for StorageDistributed reading.
2020-01-31 11:54:57 +03:00
Azat Khuzhin
e5a43d2751
Add ability to use multiple disks/volumes for Distributed engine
...
Now Distributed() has gain the 5-th argument -- policy name (for storing
data to send):
CREATE TABLE foo (key Int) Engine=Distributed(test_shard_localhost, currentDatabase(), some_table, key%2, 'default');
2020-01-25 20:52:31 +03:00
Alexander Tokmakov
250f170a69
Merge branch 'master' into table_name_in_istorage
2019-12-30 14:08:09 +03:00
alesapin
d341b648d2
Better alter
2019-12-26 21:17:05 +03:00
Alexander Tokmakov
2e5d61cd81
better constructors of storages
2019-12-26 20:04:08 +03:00
Alexander Tokmakov
cf5c998b30
refactor storage name
2019-12-26 19:23:38 +03:00
Alexander Tokmakov
60a47c3453
Merge branch 'master' into relative_paths_in_storages
2019-12-24 19:58:34 +03:00
Alexander Tokmakov
514868cebc
use relative paths in IStorage::rename(...)
2019-12-24 16:35:50 +03:00
Alexander Tokmakov
4f58d662f7
make data path relative
2019-12-23 18:20:08 +03:00
Alexander Tokmakov
d1568c1614
fix rename distributed
2019-12-19 22:51:12 +03:00
alesapin
1813b96f82
Finally build, possible trash.
2019-08-29 19:17:47 +03:00
Alexey Milovidov
285d66cee1
Improve table locks (incomplete)
2019-08-27 23:43:08 +03:00
alexey-milovidov
561b173ddc
Merge pull request #6675 from yandex/simplify-shared-ptr-helper
...
Simplify shared_ptr_helper
2019-08-27 00:36:52 +03:00
Alexey Milovidov
0eec226c9a
Simplify shared_ptr_helper
2019-08-26 22:07:29 +03:00
alesapin
cf31187254
Resolve conflicts
2019-08-26 21:08:58 +03:00
alesapin
0d0ebf885f
Remove two redundant arguments from alter
2019-08-26 17:50:34 +03:00
Alexey Milovidov
3fef8e92ad
Merging CONSTRAINTS support
2019-08-25 00:20:20 +03:00
alesapin
949890ee90
Merged
2019-08-14 12:46:30 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
Igr Mineev
21e0bec3d0
Merge remote-tracking branch 'upstream/master' into feature_multiple_disks
2019-07-16 13:45:07 +03:00
Ivan Lezhankin
9f01fa7aaa
Implement getDatabaseName() and rename() for all storages
2019-07-09 18:40:21 +03:00
zhang2014
80788cd7a8
Rename system sync distributed to system flush distributed
2019-05-29 10:43:52 +08:00
zhang2014
c44f608868
support replicas system queries for distributed
2019-05-29 10:43:52 +08:00
Igor Mineev
0441480502
Storage getDataPath -> getDataPaths
2019-04-04 16:13:59 +03:00
proller
fce9db12b9
Move Interpreters/Settings* -> Core/Settings*
2019-03-22 15:08:30 +03:00
Alex Zatelepin
896b8b15f6
fix build
2019-03-07 23:52:25 +03:00
Alexey Zatelepin
3344955154
separate Read and Write lock holders, better method names
2019-03-07 21:10:21 +03:00
Alexey Zatelepin
ab025805a3
alter intention lock
2019-03-07 20:21:18 +03:00
Alexey Zatelepin
0d7ab9e3ea
allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
...
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
Vitaly Baranov
309df832ec
IStorage::read() function, "max_block_size" parameter: change type UInt64 -> size_t.
2019-02-19 14:56:08 +03:00
Alexey Milovidov
58a6accee5
Updated test #4246
2019-02-10 19:55:12 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
alesapin
8bc00f4632
CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node
2018-12-28 19:21:32 +03:00
Ivan Lezhankin
57c5dbcd2b
Code clean-up
2018-12-05 18:48:06 +03:00
Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
Alexey Milovidov
7459edfa42
Removed support for CHECK TABLE for Distributed tables [#CLICKHOUSE-2]
2018-08-05 09:01:41 +03:00
Alexey Milovidov
8bc95412b6
Fixed bad code #2708
2018-07-28 00:33:30 +03:00
VadimPE
867a3ebfae
CLICKHOUSE-3837 fix mistakes
2018-07-25 15:31:47 +03:00
VadimPE
8dfb6806d8
add support for table function in remote() and cluster()
2018-07-24 16:10:34 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Alexey Milovidov
d56c199f07
Merging: Fixed half of problems #2260
2018-06-09 18:48:22 +03:00
zhang2014
6613e56784
ISSUES-2259 support truncate syntax
2018-05-21 11:38:46 +08:00
Nikolai Kochetov
a3308bf675
added IStorage::getQueryProcessingStage
2018-04-19 17:47:09 +03:00
Alexey Milovidov
25a691f03d
Don't allow Distributed table that look at itself [#CLICKHOUSE-2919].
2018-03-16 05:08:31 +03:00