[jira] [Resolved] (CARBONDATA-3995) Support presto querying older complex type stores

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CARBONDATA-3995) Support presto querying older complex type stores

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kunal Kapoor resolved CARBONDATA-3995.
--------------------------------------
    Fix Version/s: 2.1.0
       Resolution: Fixed

> Support presto querying older complex type stores
> -------------------------------------------------
>
>                 Key: CARBONDATA-3995
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3995
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ajantha Bhat
>            Assignee: Ajantha Bhat
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> 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.
>  
> If INT_LENGTH_COMPLEX_CHILD_BYTE_ARRAY encoding is present, parse as INT, else parse as SHORT.
> so, that both stores can be queried.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)