You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/09/13 02:37:34 UTC
[jira] [Resolved] (PHOENIX-1211) Use skip scan when row value
constructor uses leading row key columns
[ https://issues.apache.org/jira/browse/PHOENIX-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-1211.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.2
4.2
5.0.0
Nice work, [~kbuzsaki]. I've committed this to all branches. We'll get you the perf numbers soon.
> 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)