You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "shining (JIRA)" <ji...@apache.org> on 2018/02/27 05:54:00 UTC

[jira] [Commented] (CARBONDATA-2015) Restricted maximum length of bytes per column

    [ https://issues.apache.org/jira/browse/CARBONDATA-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378079#comment-16378079 ] 

shining commented on CARBONDATA-2015:
-------------------------------------

Why Validation for number of bytes for a column is added?

Now I have a column more than 32000 character, insert will failed with error  "String length cannot exceed 32000 characters".

How can i avoid this problem?

> Restricted maximum length of bytes per column
> ---------------------------------------------
>
>                 Key: CARBONDATA-2015
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2015
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: dhatchayani
>            Assignee: dhatchayani
>            Priority: Minor
>             Fix For: 1.3.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Validation for number of bytes for a column is added.
> We have limited the number of characters per column to 32000.
> For example, a single unicode character takes 3 bytes. So in this case, if my column has 30,000 unicode characters, then 32000 * 3 exceeds the short range. So, load will fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)