Skip to content

Commit

Permalink
Fix cohort size in query result output (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugy718 authored Jun 11, 2023
1 parent 80070ff commit 275ccca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ int size() {

void add(String user) {
if (!added.contains(user)) {
added.add(user);
userSequence.add(user);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public CompressorOutput compress(List<? extends FieldValue> src) {
// compress
int maxLen = lz4.maxCompressedLength(srcBuf.size()) + HEADACC;
byte[] compressed = new byte[maxLen];
System.out.print(srcBuf.size());
int zlen = this.lz4.compress(srcBuf.getData(), 0, srcBuf.size(), compressed,
HEADACC, maxLen - HEADACC);
ByteBuffer buffer = ByteBuffer.wrap(compressed, 0, HEADACC);
Expand Down

0 comments on commit 275ccca

Please sign in to comment.