diff --git a/velox/common/compression/Compression.h b/velox/common/compression/Compression.h index 68fb7f170a27..eb30657004c8 100644 --- a/velox/common/compression/Compression.h +++ b/velox/common/compression/Compression.h @@ -217,7 +217,7 @@ class Codec { /// compression library. /// Note: This functionality is not universally supported by all compression /// libraries. If not supported, `std::nullopt` will be returned. - std::optional getUncompressedLength( + virtual std::optional getUncompressedLength( uint64_t inputLength, const uint8_t* input) const;