[ 
https://issues.apache.org/jira/browse/PHOENIX-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191220#comment-14191220
 ] 

Hudson commented on PHOENIX-1387:
---------------------------------

SUCCESS: Integrated in Phoenix | Master #467 (See 
[https://builds.apache.org/job/Phoenix-master/467/])
PHOENIX-1387 Local index is not use when the query like "select * from 
dataTable where c1 like 'abc%'". (rajeshbabu.chintaguntla: rev 
4de4251310cfcef12178713d6d6e93b0882a4f4d)
* phoenix-core/src/main/java/org/apache/phoenix/compile/ProjectionCompiler.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java


> Local index is not use when the query like "select * from dataTable where c1 
> like 'abc%'".
> ------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1387
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1387
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.1
>         Environment: jdk1.6 linux
>            Reporter: jelly Chen
>            Assignee: rajeshbabu
>         Attachments: PHOENIX-1387.patch
>
>
> According to the official doc:  "Local indexes can be used even when the 
> query isn't fully covered i.e. Phoenix automatically retrieve the columns not 
> in the index through point gets against the data table."
> But the index did not be used when i executed query statement like "select * 
> from dataTable where c1 like 'abc%'". 
> Certainly 'c1' is indexed in local index.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to