[
https://issues.apache.org/jira/browse/PHOENIX-4957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644027#comment-16644027
]
Hudson commented on PHOENIX-4957:
---------------------------------
FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #2081 (See
[https://builds.apache.org/job/PreCommit-PHOENIX-Build/2081/])
PHOENIX-4957 Add NO_INDEX hint so IndexTool uses the data table instead
(vincentpoon: rev f7b053ac4b636c9b41d5d025d0db1a8b9d3de06d)
* (add)
phoenix-core/src/test/java/org/apache/phoenix/compile/PostIndexDDLCompilerTest.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/compile/PostIndexDDLCompiler.java
> 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)