This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 78db1e0 CASSANDRA-15908: Fix FrozenCollectionsTest
78db1e0 is described below
commit 78db1e02cb49bc5274296c331f9d98287997d55f
Author: Rocco Varela <[email protected]>
AuthorDate: Tue Jul 14 09:47:21 2020 -0700
CASSANDRA-15908: Fix FrozenCollectionsTest
---
.../cassandra/cql3/validation/entities/FrozenCollectionsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/test/unit/org/apache/cassandra/cql3/validation/entities/FrozenCollectionsTest.java
b/test/unit/org/apache/cassandra/cql3/validation/entities/FrozenCollectionsTest.java
index ccf8b59..23ac0ff 100644
---
a/test/unit/org/apache/cassandra/cql3/validation/entities/FrozenCollectionsTest.java
+++
b/test/unit/org/apache/cassandra/cql3/validation/entities/FrozenCollectionsTest.java
@@ -557,7 +557,7 @@ public class FrozenCollectionsTest extends CQLTester
assertInvalidIndexCreationWithMessage("CREATE INDEX ON %s (full(a))",
"Cannot create secondary index on the only partition key column");
assertInvalidIndexCreationWithMessage("CREATE INDEX ON %s (keys(a))",
"Cannot create secondary index on the only partition key column");
assertInvalidIndexCreationWithMessage("CREATE INDEX ON %s (keys(b))",
"Cannot create keys() index on frozen column b. " +
-
"Frozen collections only support indexes on the entire data structure");
+
"Frozen collections are immutable and must be fully indexed");
createTable("CREATE TABLE %s (a int, b frozen<list<int>>, c
frozen<set<int>>, d frozen<map<int, text>>, PRIMARY KEY (a, b))");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]