Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/3068
> why does one segment have some blocklet encoded with local dictionary and
some without local dictionary ?
It is because carbon generates a dictionary based on the column value count
threshold, so once it reaches that threshold it stops generating the
dictionary. There are scenarios where some blocks/blocklets are with in
threshold and some are not, thats why some blocks has local dictionary and some
don't have
---