Github user Vimal-Das commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/97#discussion_r76512936
  
    --- 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("Either delimiter or fileheader provided is not 
correct")
    --- End diff --
    
    The log can be more informative like
    " The number of columns in the file header do not match the number of 
columns in the data file; Either delimiter or fileheader provided is not 
correct"


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