mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
cql3: drop checks for materialized views support
Views are supported for over 2 years and upgrades are only allowed from versions which already have the support, so the checks are hereby dropped.
This commit is contained in:
@@ -93,9 +93,6 @@ future<> create_view_statement::check_access(service::storage_proxy& proxy, cons
|
||||
}
|
||||
|
||||
void create_view_statement::validate(service::storage_proxy& proxy, const service::client_state& state) const {
|
||||
if (!proxy.features().cluster_supports_materialized_views()) {
|
||||
throw exceptions::invalid_request_exception("Can't create materialized views until the whole cluster has been upgraded");
|
||||
}
|
||||
}
|
||||
|
||||
static const column_definition* get_column_definition(const schema& schema, column_identifier::raw& identifier) {
|
||||
|
||||
Reference in New Issue
Block a user