carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CARBONDATA-317) CSV having only space char is throwing NullPointerException
Date Thu, 13 Oct 2016 18:44:21 GMT


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
    "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 having_only_space_char

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:
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Mohammad Shahid Khan
>            Priority: Minor

This message was sent by Atlassian JIRA

View raw message