Ayushi Sharma created CARBONDATA-1828:
-----------------------------------------

             Summary: Carbon 1.3.0 - Spark 2.2 Empty CSV is being loaded 
successfully. 
                 Key: CARBONDATA-1828
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1828
             Project: CarbonData
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Ayushi Sharma


1. CREATE TABLE test3 (ID int,CUST_ID int,cust_name string) STORED BY 
'org.apache.carbondata.format'

2. LOAD DATA INPATH 'hdfs://hacluster/BabuStore/Data/InsertData/test3.csv' into 
table test3 OPTIONS('DELIMITER'=',' , 
'QUOTECHAR'='"','FILEHEADER'='ID,CUST_ID,Cust_name')

The test case should have been failed, since the CSV is empty, but the data 
load was successful.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to