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

ASF GitHub Bot commented on CARBONDATA-36:
------------------------------------------

GitHub user eason-lyx opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/21

    [CARBONDATA-36]fix dictionary exception when data column count less then 
schema

    when csv head is id,name,age,city
    if the data record like as the following:
    1,a,10,china
    2,b
    3,c,11,usa
    then,when read this row:2,b,generating dicionary will failure,and the 
remain record (3,c,11,usa)will no generate dictionary.
    
    this pr to prevent put null value to Set,and let it continue.
    @ravipesala can u please help to check this pr?
    thank u.

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

    $ git pull https://github.com/eason-lyx/incubator-carbondata 
fix_dictionary_null

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

    https://github.com/apache/incubator-carbondata/pull/21.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 #21
    
----
commit c47137055b73c9f1b6f92c63bdedf91d5ca7236f
Author: eason-lyx <[email protected]>
Date:   2016-07-05T06:40:12Z

    fix dictionary with null value

----


> fix dictionary exception when data column count less then schema
> ----------------------------------------------------------------
>
>                 Key: CARBONDATA-36
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-36
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Lin Yixin
>            Assignee: Lin Yixin
>            Priority: Minor
>              Labels: easyfix
>
> when csv head is id,name,age,city
> if the data record like as the following:
> 1,a,10,china
> 2,b
> 3,c,11,usa
> then,when read this row:2,b,generating dicionary will failure,and the remain 
> record (3,c,11,usa)will no generate dictionary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to