You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/03/11 04:51:57 UTC

[GitHub] [hbase] anoopsjohn commented on a change in pull request #3026: HBASE-25622 Result#compareResults should compare tags.

anoopsjohn commented on a change in pull request #3026:
URL: https://github.com/apache/hbase/pull/3026#discussion_r592065233



##########
File path: hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
##########
@@ -570,6 +570,35 @@ public static boolean matchingValue(final Cell left, final byte[] buf) {
         buf.length);
   }
 
+  public static boolean matchingTags(final Cell left, final Cell right) {
+    return matchingTags(left, right, left.getTagsLength(), right.getTagsLength());
+  }
+
+  public static boolean matchingTags(final Cell left, final Cell right, int llength,

Review comment:
       Can u pls keep this in PrivateCellUtil?




----------------------------------------------------------------
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:
users@infra.apache.org