GitHub user sujith71955 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/246
[CARBONDATA-321] If user changes the blocklet size the queries will bâ¦
**Problem:**
If user changes the blocklet size (50) the queries will be failed.
Currently byte size calculation in number compressor is
int array length * bit length=x
bytesize= x/8+x%8;
when cardinality is 50
then byte size will be 3
but to calculate the actual int array size of index reverse based on the
reverse calculation it is coming 4
int arrayLength=(3*8)/6
**Solution:**
We need to round off bit length to nearest value which should be divisible
by 8
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sujith71955/incubator-carbondata
master_BlockletIssue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/246.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #246
----
commit e1d91197b4173625a1cb8c469cec95290bb93185
Author: sujith71955 <[email protected]>
Date: 2016-10-17T11:12:16Z
[CARBONDATA-321] If user changes the blocklet size the queries will be
failed. this is happening since the inverted index compression is not been
handled properly
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---