You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xuchuanyin (JIRA)" <ji...@apache.org> on 2018/04/25 13:38:00 UTC

[jira] [Updated] (CARBONDATA-2402) Optimize allocated buffer size while converting object to byte array

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

xuchuanyin updated CARBONDATA-2402:
-----------------------------------
    Description: 
Currently in carbondata, while converting object to byte array, it use 8 byte space for int and short datatype, which cause memory wasted.

Code can be found in `CarbonUtil.{{getValueAsBytes` and `DataTypeUtil.getMeasureObjectFromDataType`}}

 

  was:
Currently in carbondata, while converting object to byte array, it use 8 byte space for int and short datatype, which cause memory wasted.

Code can be found in `CarbonUtil.{{getValueAsBytes` }}and `DataTypeUtil.{{getMeasureObjectFromDataType`}}

 


> Optimize allocated buffer size while converting object to byte array
> --------------------------------------------------------------------
>
>                 Key: CARBONDATA-2402
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2402
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: xuchuanyin
>            Assignee: xuchuanyin
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently in carbondata, while converting object to byte array, it use 8 byte space for int and short datatype, which cause memory wasted.
> Code can be found in `CarbonUtil.{{getValueAsBytes` and `DataTypeUtil.getMeasureObjectFromDataType`}}
>  



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