ASF GitHub Bot commented on CARBONDATA-304:

GitHub user foryou2030 opened a pull request:


    [CARBONDATA-304] Fixed data loading failure when set table_blocksize=2048

    # Why raise this pr?
    Load data failure when set table_blocksize=2048
    # How to solve?
    if blocksize=2048, then 2048*1024*1024 will beyond the range of Int, so use 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/foryou2030/incubator-carbondata size1L

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #227
commit c9644bc21501341aac03fce7ad85118eca118ab8
Author: foryou2030 <foryou2...@126.com>
Date:   2016-10-11T10:00:54Z

    fix out of Int range


> Load data failure when set table_blocksize=2048
> -----------------------------------------------
>                 Key: CARBONDATA-304
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-304
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Gin-zhj
>            Assignee: Gin-zhj
> First ,create a table with table_blocksize=2048
> CREATE TABLE IF NOT EXISTS t3 (ID Int, date Timestamp, country String, name 
> String, phonetype String, serialname String, salary Int) STORED BY 
> 'carbondata' TBLPROPERTIES('table_blocksize'='2048');
> Then load data, failure and catch exception:
> org.apache.carbondata.processing.store.writer.exception.CarbonDataWriterException:
>  Problem while copying file from local store to carbon store

This message was sent by Atlassian JIRA

Reply via email to