You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/11 10:11:20 UTC
[jira] [Commented] (CARBONDATA-304) Load data failure when set
table_blocksize=2048
[ https://issues.apache.org/jira/browse/CARBONDATA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565081#comment-15565081 ]
ASF GitHub Bot commented on CARBONDATA-304:
-------------------------------------------
GitHub user foryou2030 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/227
[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 long
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:
https://github.com/apache/incubator-carbondata/pull/227.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 #227
----
commit c9644bc21501341aac03fce7ad85118eca118ab8
Author: foryou2030 <fo...@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
(v6.3.4#6332)