in datahub/compress.go [54:69]
func (ct *CompressorType) toValue() int { switch *ct { case NOCOMPRESS: return 0 case DEFLATE: return 1 case LZ4: return 2 case ZLIB: return 3 case ZSTD: return 4 default: return 0 } }