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

Reply via email to