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:
Piotr Sarna
2020-09-14 12:03:52 +02:00
parent 720d17a9c7
commit 18bd710dca

View File

@@ -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) {