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

    https://github.com/apache/incubator-carbondata/pull/97#discussion_r76384836
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/util/GlobalDictionaryUtil.scala
 ---
    @@ -689,6 +689,10 @@ object GlobalDictionaryUtil extends Logging {
               generatePredefinedColDictionary(colDictFilePath, table,
                 dimensions, carbonLoadModel, sqlContext, hdfsLocation, 
dictfolderPath)
             }
    +        if (headers.length > df.columns.length) {
    +          logError("Maybe either delimiter or fileheader is wrong")
    +          throw new DataLoadingException("Maybe either delimiter or 
fileheader is wrong")
    --- End diff --
    
    Fixed


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