mirror of https://github.com/apache/druid.git
Use GenericIndexed v2 supported read() during deserializeColumn (#4463)
This commit is contained in:
parent
5f411f14af
commit
a108d05f76
|
@ -69,7 +69,7 @@ public class SketchMergeComplexMetricSerde extends ComplexMetricSerde
|
|||
@Override
|
||||
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder)
|
||||
{
|
||||
GenericIndexed<Sketch> ge = GenericIndexed.read(buffer, strategy);
|
||||
GenericIndexed<Sketch> ge = GenericIndexed.read(buffer, strategy, builder.getFileMapper());
|
||||
builder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), ge));
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ public class ApproximateHistogramFoldingSerde extends ComplexMetricSerde
|
|||
ByteBuffer byteBuffer, ColumnBuilder columnBuilder
|
||||
)
|
||||
{
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy());
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
|
||||
columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ public class VarianceSerde extends ComplexMetricSerde
|
|||
ByteBuffer byteBuffer, ColumnBuilder columnBuilder
|
||||
)
|
||||
{
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy());
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
|
||||
columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ public class HyperUniquesSerde extends ComplexMetricSerde
|
|||
ByteBuffer byteBuffer, ColumnBuilder columnBuilder
|
||||
)
|
||||
{
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy());
|
||||
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
|
||||
columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue