You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2017/04/21 06:36:04 UTC

[jira] [Resolved] (CARBONDATA-968) Alter temp store location and decimal data type incorrect result display correction

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

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

> Alter temp store location and decimal data type incorrect result display correction
> -----------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-968
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-968
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Manish Gupta
>            Assignee: Manish Gupta
>            Priority: Minor
>             Fix For: 1.1.0-incubating
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Below problems need to be addressed through this jira.
> 1. Temp  store location path formation for compaction through sort step is incorrect. Temp store location key being formed is not proper.
> 2. Data type change validations:
> a. New precision should always be greater than existing precision 
> b. New scale value can be same as old scale value.
> 3. Filter query bug on datatype changed for a decimal column. Steps to reproduce:
> create table alter_decimal_filter (n1 string, n2 int, n3 decimal(3,2)) stored by 'carbondata';
> insert into alter_decimal_filter select 'xx',1,1.22;
> insert into alter_decimal_filter select 'xx',1,1.23;
> alter table alter_decimal_filter change n3 n3 decimal(8,4);
> insert into alter_decimal_filter select 'dd',2,111.111;
> select * from alter_decimal_filter where n3 = 1.22;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)