phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Poon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-4957) IndexTool incorrectly uses index when rebuilding an active index
Date Mon, 08 Oct 2018 23:43:00 GMT

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

Vincent Poon resolved PHOENIX-4957.
-----------------------------------
       Resolution: Resolved
    Fix Version/s: 4.14.1

> IndexTool incorrectly uses index when rebuilding an active index
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-4957
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4957
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>            Reporter: Vincent Poon
>            Assignee: Vincent Poon
>            Priority: Major
>             Fix For: 4.14.1
>
>         Attachments: PHOENIX-4957.4.x-HBase-1.3.patch
>
>
> If you want to leave an index active while rebuilding (e.g. an immutable index), the
IndexTool selects from the index table instead of the data table.
> This is because it uses PostIndexDDLCompiler which builds an UpsertSelect statement with
a NO_INDEX hint, but the IndexTool only uses the Select portion which has no hint.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message