You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajantha Bhat (Jira)" <ji...@apache.org> on 2020/05/06 11:07:00 UTC
[jira] [Created] (CARBONDATA-3799) inverted index cannot work with
adaptive encoding
Ajantha Bhat created CARBONDATA-3799:
----------------------------------------
Summary: 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
Fix For: 2.0.0
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)