priyankporwal commented on a change in pull request #765: PHOENIX-5841 add a 
counter for mismatching num of columns
URL: https://github.com/apache/phoenix/pull/765#discussion_r409938655
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/IndexRebuildRegionScanner.java
 ##########
 @@ -537,6 +536,7 @@ private boolean isMatchingMutation(Mutation expected, 
Mutation actual, int itera
                     byte[] dataKey = indexMaintainer.buildDataRowKey(new 
ImmutableBytesWritable(expected.getRow()), viewConstants);
                     String errorMsg = "Missing cell (in iteration " + 
iteration + ") " + Bytes.toString(family) + ":" + Bytes.toString(qualifier);
                     logToIndexToolOutputTable(dataKey, expected.getRow(), 
getTimestamp(expected), getTimestamp(actual), errorMsg);
+                    verificationPhaseResult.mismatchingNumberOfCellsCount++;
 
 Review comment:
   This is the missing cell case and the one below is extra cell case. Should 
we separate them to know better?

----------------------------------------------------------------
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