carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CARBONDATA-1419) Add adaptive encoding for Double data type
Date Tue, 29 Aug 2017 04:16:00 GMT

     [ 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)

Mime
View raw message