Skip to content

Commit 987de09

Browse files
committed
compress without specifying unique
1 parent ce98558 commit 987de09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/sysds/runtime/frame/data/compress/CompressedFrameBlockFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private Array<?> compressColFinally(int i, final Array<?> a, final ArrayCompress
208208
Timing time = LOG.isDebugEnabled() ? new Timing(true) : null;
209209
if(s.bestType != null && s.shouldCompress) {
210210
if(s.bestType == FrameArrayType.DDC)
211-
compressedColumns[i] = DDCArray.compressToDDC(a, s.nUnique);
211+
compressedColumns[i] = DDCArray.compressToDDC(a);
212212
else
213213
throw new RuntimeException("Unsupported frame compression encoding : " + s.bestType);
214214
}

0 commit comments

Comments
 (0)