From ae0ffa65756ac262ac05f55b22b30f29de2c0aef Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Mon, 29 Oct 2018 12:18:52 +0100 Subject: [PATCH] tests: add multi-column filtering check Multi-column restrictions filtering is not supported yet, so a simple case to ensure that is added. --- tests/cql_query_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cql_query_test.cc b/tests/cql_query_test.cc index 2fe2d28c08..7dae453cfa 100644 --- a/tests/cql_query_test.cc +++ b/tests/cql_query_test.cc @@ -3086,7 +3086,8 @@ SEASTAR_TEST_CASE(test_allow_filtering_multiple_regular) { msg = e.execute_prepared(prepared_id, raw_values).get0(); assert_that(msg).is_rows().with_size(0); - + // TODO(sarna): Remove once multi-column restrictions are supported (#3574) + BOOST_CHECK_THROW(e.execute_cql("SELECT * FROM t WHERE (b) = (3)").get(), exceptions::invalid_request_exception); }); }