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-1829) Carbon 1.3.0 - Spark 2.2: Insert is passing when Hive is having Float and Carbon is having INT value and load file is having single precision decimal value
Date Tue, 28 Nov 2017 14:48:00 GMT
Ayushi Sharma created CARBONDATA-1829:
-----------------------------------------

             Summary: Carbon 1.3.0 - Spark 2.2: Insert is passing when Hive is having Float
and Carbon is having INT value and load file is having single precision decimal value
                 Key: CARBONDATA-1829
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1829
             Project: CarbonData
          Issue Type: Bug
            Reporter: Ayushi Sharma
         Attachments: Hive3.csv

Steps:
1. create table Hive3(Sell_price FLOAT, Item_code STRING, Qty_total Double,Profit Decimal(4,3),
Update_time TIMESTAMP )row format delimited fields terminated by ',' collection items terminated
by '$'

2. create table Carbon3(Sell_price INT, Item_code STRING, Qty_total DECIMAL(3,1),Profit  DECIMAL(3,2),
Update_time TIMESTAMP ) STORED BY 'org.apache.carbondata.format'

3. load data LOCAL INPATH '/opt/csv/Data/InsertData/Hive3.csv' overwrite into table Hive3

Issue:
Insert is passing when Hive is having Float and Carbon is having INT value and load file is
having single precision decimal value. This should be failed.

Expected:
It should be failed.



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

Mime
View raw message