ajantha-bhat opened a new pull request #3937:
URL: https://github.com/apache/carbondata/pull/3937


    ### Why is this PR needed?
    Before carbon 2.0, complex child length is stored as SHORT for string, 
varchar, binary, date, decimal types.
   So, In 2.0 as it is stored as INT, presto complex query code always assumes 
it as  INT 
   and goes to out of bound exception when old store is queried.
    
    ### What changes were proposed in this PR?
   If INT_LENGTH_COMPLEX_CHILD_BYTE_ARRAY encoding is present, parse as INT, 
else parse as SHORT.
   so, that both stores can be queried.
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - No [upgrade scenario]
   
       
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to