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
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---