carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anubhav tarar (JIRA)" <j...@apache.org>
Subject [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
Date Tue, 12 Dec 2017 11:05:00 GMT

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

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

@Ayushi Sharma  is it resolved now jira status is changed


> 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
>             Fix For: 1.3.0
>
>         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