[jira] [Updated] (CARBONDATA-1419) Add adaptive encoding for Double data type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-1419) Add adaptive encoding for Double data type

Akash R Nilugal (Jira)

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

Jacky Li updated CARBONDATA-1419:
---------------------------------
    Description:
Add two new encoding for Double data type:
1. AdaptiveFloatingCodec, it will multiple the column value by Math.pow(10, decimalCount) and do type cast from double to target data type like byte, short, int
2. AdaptiveDeltaFloatingCodec, it will first calculate the delta of column value and maximum value and multiple by Math.pow(10, decimalCount) and do type cast from double to target data type like byte, short, int

> Add adaptive encoding for Double data type
> ------------------------------------------
>
>                 Key: CARBONDATA-1419
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1419
>             Project: CarbonData
>          Issue Type: New Feature
>            Reporter: Jacky Li
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Add two new encoding for Double data type:
> 1. AdaptiveFloatingCodec, it will multiple the column value by Math.pow(10, decimalCount) and do type cast from double to target data type like byte, short, int
> 2. AdaptiveDeltaFloatingCodec, it will first calculate the delta of column value and maximum value and multiple by Math.pow(10, decimalCount) and do type cast from double to target data type like byte, short, int



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)