[
https://issues.apache.org/jira/browse/CARBONDATA-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liang Chen resolved CARBONDATA-2656.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.4.1
> Presto Stream Readers performance Enhancement
> ---------------------------------------------
>
> Key: CARBONDATA-2656
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-2656> Project: CarbonData
> Issue Type: Improvement
> Components: presto-integration
> Affects Versions: 1.5.0
> Environment: Presto 0.187
> Reporter: Sourabh Verma
> Assignee: Sourabh Verma
> Priority: Major
> Fix For: 1.5.0, 1.4.1
>
> Time Spent: 10.5h
> Remaining Estimate: 0h
>
> *Background*:
> In the present system, we create carbonColumnVectorImpl object in carbonVectorbatch where carbon core fill up vector data (one by one) in column matched data type array, later which at the time presto block builder call, read by stream readers (based on data type) and iterated to fill up in block and returned to presto.
> *Solution*:
> We can eliminate the extra iteration over the carbonColumnVectorImpl object -> vectorArray, by extending it to create a directStreamReaders which will fill up carbon-core vector data (one by one) directly to the block(presto), and on the call of block builder it will return the block to the Presto.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)