Github user kumarvishal09 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/111#discussion_r76973485
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/processing/csvreaderstep/UnivocityCsvParser.java
 ---
    @@ -104,6 +108,20 @@ public void initialize() throws IOException {
       }
     
       /**
    +   * This method will decide the number of coulmns to be parsed for a row 
by univocity parser
    +   *
    +   * @param columnCountInSchema total number of columns in schema
    +   * @return
    +   */
    +  private int getMaxColumnsForParsing(int columnCountInSchema) {
    +    int maxNumberOfColumnsForParsing = columnCountInSchema;
    +    if (columnCountInSchema < MAX_NUMBER_OF_COLUMNS_FOR_PARSING) {
    +      maxNumberOfColumnsForParsing = MAX_NUMBER_OF_COLUMNS_FOR_PARSING;
    +    }
    +    return maxNumberOfColumnsForParsing;
    --- End diff --
    
    I added +10 because to avoid this bug, i think now no need to add 10 as we 
are allowing user to give max number of columns. @gvramana Please comment


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

Reply via email to