You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "adelapena (via GitHub)" <gi...@apache.org> on 2023/07/05 11:17:31 UTC

[GitHub] [cassandra] adelapena commented on a diff in pull request #2465: Add basic text analysis to SAI:

adelapena commented on code in PR #2465:
URL: https://github.com/apache/cassandra/pull/2465#discussion_r1252957120


##########
test/unit/org/apache/cassandra/index/sai/cql/StorageAttachedIndexDDLTest.java:
##########
@@ -263,6 +263,120 @@ public void shouldCreateIndexIfExists()
         assertEquals(1, saiCreationCounter.get());
     }
 
+    @Test
+    public void shouldBeCaseSensitiveByDefault() throws Throwable
+    {
+        createTable("CREATE TABLE %s (id text PRIMARY KEY, val text)");
+
+        createIndex("CREATE CUSTOM INDEX ON %s(val) USING 'StorageAttachedIndex'");
+        waitForIndexQueryable();

Review Comment:
   Since [CASSANDRA-18521](https://issues.apache.org/jira/browse/CASSANDRA-18521) `CQLTester#waitForIndexQueryable` requires an argument specifying the index name. Its absence here produces a build error. Maybe it has been missed during rebase?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org