You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/15 08:44:00 UTC
[jira] [Updated] (PHOENIX-4957) IndexTool incorrectly uses index
when rebuilding an active index
[ https://issues.apache.org/jira/browse/PHOENIX-4957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-4957:
---------------------------------
Fix Version/s: 5.1.0
> 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, 5.1.0
>
> 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
(v8.3.4#803005)