carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayushi Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1830) Carbon 1.3.0 - Spark 2.2: Data Load with invalid File-header is being executed successfully.
Date Tue, 28 Nov 2017 14:54:00 GMT
Ayushi Sharma created CARBONDATA-1830:
-----------------------------------------

             Summary: Carbon 1.3.0 - Spark 2.2: Data Load with invalid File-header is being
executed successfully.
                 Key: CARBONDATA-1830
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1830
             Project: CarbonData
          Issue Type: Bug
            Reporter: Ayushi Sharma
         Attachments: T_Hive1.csv

Steps:
1. create table DL_Invalid_FILEHEADER(Active_status String,Item_type_cd INT,Qty_day_avg INT,Qty_total
INT,Sell_price BIGINT,Sell_pricep DOUBLE,Discount_price DOUBLE,Profit DECIMAL(3,2),Item_code
String,Item_name String,Outlet_name String,Update_time TIMESTAMP,Create_date String)STORED
BY 'org.apache.carbondata.format'

2. LOAD DATA INPATH 'HDFS_URL/BabuStore/Data/InsertData/T_Hive1.csv' INTO table DL_Invalid_FILEHEADER
options ('DELIMITER'=',', 'QUOTECHAR'='\', 'FILEHEADER'='Item_type_cd,Active_status,Qty_day_avg,Qty_total,Sell_price,Sell_pricep,Discount_price,Profit,Item_code,Item_name,Outlet_name,Update_time,Create_date')

Issue:
Data Load with invalid File-header is being executed successfully.

Expected:
Data Loading should be failed.




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

Mime
View raw message