diff --git a/vortex-sampling-compressor/src/compressors/for.rs b/vortex-sampling-compressor/src/compressors/for.rs index 01fb62f5dc..3e7df3141e 100644 --- a/vortex-sampling-compressor/src/compressors/for.rs +++ b/vortex-sampling-compressor/src/compressors/for.rs @@ -20,6 +20,10 @@ impl EncodingCompressor for FoRCompressor { FoR::ID.as_ref() } + fn cost(&self) -> u8 { + 0 + } + fn can_compress(&self, array: &Array) -> Option<&dyn EncodingCompressor> { // Only support primitive arrays let parray = PrimitiveArray::try_from(array).ok()?;