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:

if(dataField.getColumn().hasEncoding(Encoding.DIRECT_DICTIONARY) ….) {
     // DirectDictionaryConverter
} else if (… Encoding.DICTIONARY ….)  {
     // DictionaryConverter
}
 …
else  {
     // NonDictionaryFieldConverter
}

And I cannot find any encoding code related to RLE in the 
NonDictionaryFieldConverter.

Please kindly suggest where I can find the FieldConverter for RLE, DELTA and 
other encodings?

Thanks!

Regards,
Hao

Reply via email to