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

Hudson commented on PHOENIX-1211:
---------------------------------

SUCCESS: Integrated in Phoenix | 4.0 | Hadoop2 #117 (See 
[https://builds.apache.org/job/Phoenix-4.0-hadoop2/117/])
PHOENIX-1211 Use skip scan when row value constructor uses leading row key 
columns (Kyle Buzsaki) (jamestaylor: rev 
3ebcbd76cb5b83111f56372de1900c19a7c9e220)
* phoenix-core/src/main/java/org/apache/phoenix/compile/WhereOptimizer.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/WhereCompiler.java
* phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
* phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/RowKeySchema.java
* phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/ScanRanges.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java


> Use skip scan when row value constructor uses leading row key columns 
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-1211
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1211
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Kyle Buzsaki
>             Fix For: 5.0.0, 4.2, 3.2
>
>         Attachments: PHOENIX-1211-diff.patch, PHOENIX-1211.patch
>
>
> We currently only use a skip scan for a row value constructor equality or in 
> list expression is fully qualified. We can fairly easily use it when only 
> some of the leading pk columns are used.
> For example:
> {code}
> WHERE (a,b) IN ((1,2),(3,4))
> {code}
> If the PK is (a,b,c), we can still use a skip scan. We need to pass through 
> the slotSpan array in this case too, to the SkipScanFilter.



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

Reply via email to