ASF GitHub Bot commented on CARBONDATA-317:

GitHub user mohammadshahidkhan opened a pull request:


    [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 

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 #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

Reply via email to