[ 
https://issues.apache.org/jira/browse/CARBONDATA-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Pesala resolved CARBONDATA-3083.
-----------------------------------------
    Resolution: Fixed

> Null values are getting replaced by 0 after update operation.
> -------------------------------------------------------------
>
>                 Key: CARBONDATA-3083
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3083
>             Project: CarbonData
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Kunal Kapoor
>            Assignee: Kunal Kapoor
>            Priority: Major
>             Fix For: 1.5.1
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> create table negativeTable(intCol int, stringCol string, shortCol short) 
> stored by 'carbondata'
> load data inpath 'hdfs://hacluster/user/dataWithNegativeValues.csv' into 
> table negativeTable 
> options('delimiter'=',','fileheader'='intCol,stringCol,shortCol','bad_records_action'='force')
> select * from negativeTable
> insert into negativeTable select 0,null,-10
> insert into negativeTable select null,'inserted',20
> select * from negativeTable
> update negativeTable set (intCol) = (5) where intCol=0
> select * from negativeTable



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to