in datahub/compress.go [33:48]
func getCompressTypeFromValue(value int) CompressorType {
switch value {
case 0:
return NOCOMPRESS
case 1:
return DEFLATE
case 2:
return LZ4
case 3:
return ZLIB
case 4:
return ZSTD
default:
return NOCOMPRESS
}
}