[jira] [Resolved] (CARBONDATA-3799) inverted index cannot work with adaptive encoding

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

[jira] [Resolved] (CARBONDATA-3799) inverted index cannot work with adaptive encoding

Akash R Nilugal (Jira)

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

Kunal Kapoor resolved CARBONDATA-3799.
--------------------------------------
    Resolution: Fixed

> inverted index cannot work with adaptive encoding
> -------------------------------------------------
>
>                 Key: CARBONDATA-3799
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3799
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ajantha Bhat
>            Assignee: Ajantha Bhat
>            Priority: Major
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> After PR #3638, Inverted index cannot work with adaptive encoding.
> two issues are present
> a) For Byte (Not DirectByteBuffer), Encoded column page has wrong result, as position() is used instead of limit()
> b) For short (DirectByteBuffer), result.array() will fail as it is unsupported for direct byte buffer.
>  
> Solution :
> 1) for problem a) use limit()
> 2) for problem b) write byte by byte. 
>  
>  



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