Github user xuchuanyin commented on the issue:
https://github.com/apache/carbondata/pull/2628
@ravipesala fine, I'll rework on this.
The bad news is that the Enum 'CompressionCodec' in thrift is 'required', so even we do use it, we cannot get rid of it.
The good news is that for legacy store, it is always snappy which makes it easier if we bypass this Enum.
---