You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "anubhav tarar (JIRA)" <ji...@apache.org> on 2017/11/30 11:54:00 UTC

[jira] [Commented] (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

    [ https://issues.apache.org/jira/browse/CARBONDATA-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272567#comment-16272567 ] 

anubhav tarar commented on CARBONDATA-1829:
-------------------------------------------

it is inseritng null value in that column which is correct can you please explain more?

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