ddanielr commented on code in PR #290:
URL: https://github.com/apache/accumulo-testing/pull/290#discussion_r1951727790
##########
src/main/java/org/apache/accumulo/testing/continuous/ContinuousInputFormat.java:
##########
@@ -143,8 +143,7 @@ private Key genKey(CRC32 cksum) {
byte[] fam = genCol(random.nextInt(maxFam));
byte[] qual = genCol(random.nextInt(maxQual));
- @SuppressWarnings("deprecation")
- byte[] cv =
visibilities.get(random.nextInt(visibilities.size())).flatten();
+ byte[] cv =
visibilities.get(random.nextInt(visibilities.size())).getExpression();
Review Comment:
`flatten` was used to normalize the existing parse tree.
While calling `getExpression()` will return a byte array, I don't believe
it de-duplicates the expression anymore.
Just something to be aware of when testing.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]