Alexey Milovidov
a5e3d4efb7
Added most of clang-static-analyzer checks
2020-03-20 21:53:35 +03:00
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
Vitaly Baranov
2aa58193c8
Check access rights via new interface.
2020-01-31 20:27:28 +03:00
Nikolai Kochetov
fc7839716f
Processors support for StorageMaterializedView reading.
2020-01-31 18:16:06 +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
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
Alexander Tokmakov
f19bb041b4
add asserts on invalid StorageID
2019-12-30 21:20:43 +03:00
Alexander Tokmakov
ef129b4b7c
use StorageID in views
2019-12-26 20:59:47 +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
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
0eec226c9a
Simplify shared_ptr_helper
2019-08-26 22:07:29 +03:00
Alexey Milovidov
3fef8e92ad
Merging CONSTRAINTS support
2019-08-25 00:20:20 +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
c44f608868
support replicas system queries for distributed
2019-05-29 10:43:52 +08:00
Igor Mineev
b4b000bf84
Merge branch 'master' into feature_multiple_disks
2019-05-11 21:50:29 +03:00
Guillaume Tassery
55dc86ef74
Support rename operation for MaterializeView storage
2019-05-07 13:54:55 +07:00
Igor Mineev
0441480502
Storage getDataPath -> getDataPaths
2019-04-04 16:13:59 +03:00
Ivan Lezhankin
a3a8b2bbf7
Include IAST_fwd.h for using ASTPtr
2019-03-11 17:01:45 +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
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
73aa7f2027
Rename method partition() → alterPartition()
...
Also fix build with internal shared libraries.
2018-11-26 17:43:40 +03:00
Ivan Lezhankin
74fe350451
Refactor partition commands handling into separate interface method.
2018-11-20 17:59:34 +03:00
Ivan Lezhankin
935615a647
Reimplement FREEZE command.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
03e6a29eb2
Implement 'ALTER … FREEZE' command.
...
Need some tests!
2018-11-12 15:26:14 +03:00
Alexey Milovidov
b8cfa77ea0
Fixed build [#CLICKHOUSE-2]
2018-10-22 23:58:16 +03:00
alexey-milovidov
2deb510c59
Merge branch 'master' into master
2018-10-22 23:45:26 +03:00
Marek Vavruša
37e03bd938
StorageKafka: check dependencies recursively, add max_block setting
...
Changes:
* Check table dependencies recursively before starting streaming
* Use actual number of created consumers when streaming
* Add size limits hint to Kafka consumer stream
* Configurable `kafka_max_block_size` per table
2018-10-18 09:20:34 -07:00
CurtizJ
d81ed27004
add lock for .inner. table
2018-10-17 17:08:52 +03:00
Alexey Milovidov
b657c6b848
Added forwarding of mutation for Materialized views #2897
2018-08-20 19:28:30 +03:00
Nikolai Kochetov
391b4b5927
Merged with master.
2018-08-20 15:25:06 +03:00
Alexey Milovidov
d8ca4345b6
Fixed style violations [#CLICKHOUSE-2]
2018-08-10 04:41:54 +03:00
VadimPE
b97fa2eb4d
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
2018-08-03 12:39:01 +03:00
VadimPE
6142d9ae6a
CLICKHOUSE-3714 fix function names and get partition size
2018-08-03 11:33:57 +03:00
VadimPE
08fe108ba8
CLICKHOUSE-3714 fix methods name
2018-08-02 11:48:57 +03:00
Vadim
c30ab5a035
Update StorageMaterializedView.h
2018-08-01 20:43:58 +03:00
VadimPE
66d9ba3eb7
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-01 20:41:18 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Alexey Milovidov
6475ea98c7
Merging: Fixed most of problems, actualized test #2260
2018-06-09 21:17:27 +03:00
Alexey Milovidov
d56c199f07
Merging: Fixed half of problems #2260
2018-06-09 18:48:22 +03:00
Alexey Milovidov
0bc678474e
Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate
2018-06-09 17:24:50 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
zhang2014
6613e56784
ISSUES-2259 support truncate syntax
2018-05-21 11:38:46 +08:00