palashc commented on code in PR #1978:
URL: https://github.com/apache/phoenix/pull/1978#discussion_r1759600071
##########
phoenix-core/src/it/java/org/apache/phoenix/end2end/index/PartialIndexIT.java:
##########
@@ -1053,4 +1056,34 @@ public void testPartialIndexWithIndexHint() throws
Exception {
assertFalse(rs.next());
}
}
+
+ @Test
+ public void testPartialIndexOnTableWithCaseSensitiveColumns() throws
Exception {
+ try(Connection conn = DriverManager.getConnection(getUrl());
+ Statement stmt = conn.createStatement()) {
+ String dataTableName = generateUniqueName();
+ String indexName = generateUniqueName();
+
+ stmt.execute("CREATE TABLE " + dataTableName
+ + " (\"hashKeY\" VARCHAR NOT NULL PRIMARY KEY, v1 VARCHAR,
\"CoL\" VARCHAR, v3 VARCHAR)");
+
+ stmt.execute("CREATE INDEX " + indexName
+ + " ON " + dataTableName + "(v1) INCLUDE (\"CoL\") WHERE
v3 IS NOT NULL");
Review Comment:
@virajjasani done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]