[
https://issues.apache.org/jira/browse/SPARK-12283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-12283.
----------------------------------
Resolution: Incomplete
> Use UnsafeRow as the buffer in SortBasedAggregation to avoid Unsafe/Safe
> conversion
> -----------------------------------------------------------------------------------
>
> Key: SPARK-12283
> URL: https://issues.apache.org/jira/browse/SPARK-12283
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Davies Liu
> Priority: Major
> Labels: bulk-closed
>
> SortBasedAggregation use GenericMutableRow as aggregation buffer, also
> requires that the input can't be UnsafeRow, because the we can't
> compare/evaluate UnsafeRow and GenericInternalRow in the same time. The
> TungstenSort output UnsafeRow, so multiple Safe/Unsafe projections will be
> inserted between them.
> If we can make sure that all the mutating happens in ascending order, the
> buffer of UnsafeRow could be used to update var-length object (String,
> Binary, Struct etc.)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]