[ 
https://issues.apache.org/jira/browse/CARBONDATA-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581933#comment-15581933 ] 
ASF GitHub Bot commented on CARBONDATA-321:
-------------------------------------------
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.patchTo 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 <
[hidden email]>
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
----
> Query is failing on the change of  blocklet size 
> -------------------------------------------------
>
>                 Key: CARBONDATA-321
>                 URL: 
https://issues.apache.org/jira/browse/CARBONDATA-321>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Sujith
>            Assignee: Sujith
>
> If user changes the blocklet size the queries will be failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)