You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "rajeshbabu (JIRA)" <ji...@apache.org> on 2014/08/06 18:59:11 UTC

[jira] [Updated] (PHOENIX-1150) scan on local index(index of view) for queries with no where condition should not read other indexes data stored in the shared index table

     [ https://issues.apache.org/jira/browse/PHOENIX-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

rajeshbabu updated PHOENIX-1150:
--------------------------------

    Attachment: PHOENIX-1150.patch

Here is the patch fixes the issue and added the testcase.

> scan on local index(index of view) for queries with no where condition should not read other indexes data stored in the shared index table
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1150
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1150
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>             Fix For: 5.0.0, 4.1
>
>         Attachments: PHOENIX-1150.patch
>
>
> Currently covered index queries or queries like count() with no where condition choose index table to scan directly.In that case while scanning local index or index on view getting other indexes data also. Which will give inconsistent results when a table(view) has multiple local(view) indexes. We should restrict to scan only the index data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)