Github user chrajeshbabu commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/135#discussion_r46096275
  
    --- Diff: phoenix-core/src/it/java/org/apache/phoenix/end2end/DeleteIT.java 
---
    @@ -186,7 +186,9 @@ private void testDeleteRange(boolean autoCommit, 
boolean createIndex, boolean lo
             PreparedStatement stmt;
             conn.setAutoCommit(autoCommit);
             deleteStmt = "DELETE FROM IntIntKeyTest WHERE i >= ? and i < ?";
    -        assertIndexUsed(conn, deleteStmt, Arrays.<Object>asList(5,10), 
indexName, false);
    +        if(!local) {
    --- End diff --
    
    It will be used. In case of local indexes explain plan always have "SCAN 
OVER DATATABLENAME" so it's failing so not checking assertion for local indexes 
case. Will modify it make proper assertion in case of local indexes like it 
should have index id as well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to