[jira] [Commented] (CARBONDATA-317) CSV having only space char is throwing NullPointerException
Posted by Akash R Nilugal (Jira) on Oct 13, 2016; 6:44pm URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Commented-CARBONDATA-317-CSV-having-only-space-char-is-throwing-NullPointerException-tp1883.html
[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: