Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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;
Attachments
Issue Links
- links to