kadirozde commented on a change in pull request #672: PHOENIX-5658 IndexTool to 
verify index rows inline
URL: https://github.com/apache/phoenix/pull/672#discussion_r365428144
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/PhoenixServerBuildIndexInputFormat.java
 ##########
 @@ -92,6 +94,12 @@ protected  QueryPlan getQueryPlan(final JobContext context, 
final Configuration
             try {
                 scan.setTimeRange(0, scn);
                 
scan.setAttribute(BaseScannerRegionObserver.INDEX_REBUILD_PAGING, TRUE_BYTES);
+                if (getVerifyIndex(configuration)) {
+                    
scan.setAttribute(BaseScannerRegionObserver.INDEX_REBUILD_VERIFY, TRUE_BYTES);
 
 Review comment:
   Verify wins

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to