Question about RLE and DELTA encoding

2016-12-14 Thread Hao Jiang
, e.g., for a list of numbers a,b,c..., encode them as a, b-a, c-b...//Instead, it does a max-delta encoding. e.g., for a,b,c..., assume the max value is M, encode them as M-a, M-b, M-c. Could you please also share the thought why you choose to use this encoding? Thanks! Regards, Hao Jiang

Question about RLE support in CarbonData

2016-11-30 Thread Hao Jiang
Dear Dev Team, I have a question about run-length encoding (RLE) support in CarbonData. In Encoding enum type I can see RLE, DELTA and some other encodings. However while I look at the code (FieldEncoderFactory.createFieldEncoder), I notice there is an if / else like the following: