Login  Register

[jira] [Created] (CARBONDATA-194) ArrayIndexOfBoundException thrown when number of columns in row more than the max number of columns in univocity parser settings

Posted by Akash R Nilugal (Jira) on Aug 31, 2016; 6:27am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-194-ArrayIndexOfBoundException-thrown-when-number-of-columns-in-row-more-thas-tp598.html

Manish Gupta created CARBONDATA-194:
---------------------------------------

             Summary: ArrayIndexOfBoundException thrown when number of columns in row more than the max number of columns in univocity parser settings
                 Key: CARBONDATA-194
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-194
             Project: CarbonData
          Issue Type: Bug
            Reporter: Manish Gupta
            Assignee: Manish Gupta
            Priority: Minor


When the number of columns in csv data file while parsing a row are more than the number of columns in schema, the parser throws array index of bound exception
Caused by: java.lang.ArrayIndexOutOfBoundsException: 18
        at com.univocity.parsers.common.ParserOutput.valueParsed(ParserOutput.java:247)
        at com.univocity.parsers.csv.CsvParser.parseField(CsvParser.java:181)
        at com.univocity.parsers.csv.CsvParser.parseRecord(CsvParser.java:75)



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