diff --git a/cql3/statements/create_index_statement.cc b/cql3/statements/create_index_statement.cc index 8e05d43f7be2..f1b449f2a95e 100644 --- a/cql3/statements/create_index_statement.cc +++ b/cql3/statements/create_index_statement.cc @@ -67,6 +67,7 @@ create_index_statement::validate(query_processor& qp, const service::client_stat if (_raw_targets.empty() && !_properties->is_custom) { throw exceptions::invalid_request_exception("Only CUSTOM indexes can be created without specifying a target column"); } + _properties->validate(); }