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

    https://github.com/apache/incubator-carbondata/pull/237#discussion_r83549178
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/csv/CarbonCsvRelation.scala
 ---
    @@ -148,6 +150,10 @@ case class CarbonCsvRelation protected[spark] (
               .withSkipHeaderRecord(false)
             CSVParser.parse(firstLine, 
csvFormat).getRecords.get(0).asScala.toArray
           }
    +      if(null == firstRow) {
    +        throw new DataLoadingException("Please check your input path and 
make sure " +
    --- End diff --
    
    May be csv file does not have header and user is passing the header from 
load command in that case is this a valid message??


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to