Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2706
@xuchuanyin This 2MB limit causing many issues in varchar and complex
columns. We cannot let user to configure this internal limits. We should have a
growable stream. Besides, we better remove this bytebuffer and set directly to
unsafe.---
