You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/10/13 15:01:00 UTC
[jira] [Resolved] (SPARK-40611) Improve the performance for setInterval & getInterval of UnsafeRow
[ https://issues.apache.org/jira/browse/SPARK-40611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-40611.
---------------------------------
Fix Version/s: 3.4.0
Resolution: Fixed
Issue resolved by pull request 38046
[https://github.com/apache/spark/pull/38046]
> Improve the performance for setInterval & getInterval of UnsafeRow
> ------------------------------------------------------------------
>
> Key: SPARK-40611
> URL: https://issues.apache.org/jira/browse/SPARK-40611
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.4.0
> Reporter: jiaan.geng
> Assignee: jiaan.geng
> Priority: Major
> Fix For: 3.4.0
>
>
> As we know, UnsafeRow stores each field with 8 bytes or Long.
> UnsafeRow supports read and store CalendarInterval.
> After my investigation, getLong/putLong of Platform have better performance than call getInt/putInt of Platform twice.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org