kumar vishal created CARBONDATA-2464:
----------------------------------------
Summary: Fixed OOM in case of complex type
Key: CARBONDATA-2464
URL:
https://issues.apache.org/jira/browse/CARBONDATA-2464 Project: CarbonData
Issue Type: Improvement
Reporter: kumar vishal
Assignee: kumar vishal
Problem: Query with Complex type is failing with OOM
Root Cause: Complex type child column(No-dictionary) values are written in LV format, while reading the data it will read length then based on length it is reading the data. Converting byte array to int is giving wrong length value, because of this it's trying to create big memory chunk and as memory is not available in Unsafe it is failing with OOM.
Code issue: While converting byte array to int it is not masking the the byte values and because of this is giving wrong integer value.
Solution: Mask each byte and then left shift the bits
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)