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/12/29 15:47:00 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #3986: HBASE-26635 Optimize decodeNumeric in OrderedBytes

Apache9 commented on a change in pull request #3986:
URL: https://github.com/apache/hbase/pull/3986#discussion_r776386434



##########
File path: hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestOrderedBytes.java
##########
@@ -1319,4 +1320,20 @@ public void testEncodedValueCheck() {
       OrderedBytes.skip(buff);
     }
   }
+
+  @Test
+  public void testEncodeDecodeMatch() {
+    BigDecimal[] randomData = new BigDecimal[200];
+    Random rand = new Random(System.currentTimeMillis());

Review comment:
       Just use ThreadLocalRandom?




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

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org