Fix DoublesSketchComplexMetricSerde.getSerializer() (#5140)

This commit is contained in:
Jihoon Son 2017-12-06 15:10:19 +09:00 committed by GitHub
parent 45f91a241e
commit 80f5e89a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -27,12 +27,12 @@ import io.druid.java.util.common.IAE;
import io.druid.segment.GenericColumnSerializer;
import io.druid.segment.column.ColumnBuilder;
import io.druid.segment.data.GenericIndexed;
import io.druid.segment.data.IOPeon;
import io.druid.segment.data.ObjectStrategy;
import io.druid.segment.serde.ComplexColumnPartSupplier;
import io.druid.segment.serde.ComplexMetricExtractor;
import io.druid.segment.serde.ComplexMetricSerde;
import io.druid.segment.serde.LargeColumnSupportedComplexColumnSerializer;
import io.druid.segment.writeout.SegmentWriteOutMedium;
import java.nio.ByteBuffer;
@ -109,9 +109,8 @@ public class DoublesSketchComplexMetricSerde extends ComplexMetricSerde
// support large columns
@Override
public GenericColumnSerializer getSerializer(IOPeon peon, String column)
public GenericColumnSerializer getSerializer(SegmentWriteOutMedium segmentWriteOutMedium, String column)
{
return LargeColumnSupportedComplexColumnSerializer.create(peon, column, this.getObjectStrategy());
return LargeColumnSupportedComplexColumnSerializer.create(segmentWriteOutMedium, column, this.getObjectStrategy());
}
}