Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.