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/13 18:44:21 UTC

[jira] [Commented] (CARBONDATA-317) CSV having only space char is throwing NullPointerException

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

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

GitHub user mohammadshahidkhan opened a pull request:

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

    [CARBONDATA-317] - CSV having only space char is throwing NullPointer…

    Problem: Data loading fails if csv is having only empty chars
    
    Analysis: During data load, in global dictionary generation step while reading the first line for the headers 
    its getting null value from the LineCsvReader.
    
    Solution : Added null check over first row and throwing exception asking to provide valid csv.
    "Please check your input path and make sure csv file contains valid header."
    Impact area: Data load with csv having only space char in first line.

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

    $ git pull https://github.com/mohammadshahidkhan/incubator-carbondata having_only_space_char

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

    https://github.com/apache/incubator-carbondata/pull/237.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 #237
    
----

----


> CSV having only space char is throwing NullPointerException
> -----------------------------------------------------------
>
>                 Key: CARBONDATA-317
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-317
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Mohammad Shahid Khan
>            Priority: Minor
>




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