MINOR: Pass along compression type to snapshot writer
Make sure that the compression type is passed along to the `RecordsSnapshotWriter` constructor when creating the snapshot writer using the static `createWithHeader` method.
Reviewers: Jason Gustafson
@@ -125,7 +125,7 @@ final public class RecordsSnapshotWriter<T> implements SnapshotWriter<T> {
memoryPool,
snapshotTime,
lastContainedLogTimestamp,
- CompressionType.NONE,
+ compressionType,
serde);
writer.initializeSnapshotWithHeader();
