[ https://issues.apache.org/jira/browse/SPARK-51042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926599#comment-17926599 ]
Dongjoon Hyun commented on SPARK-51042: --------------------------------------- This is backported to branch-3.5 via [https://github.com/apache/spark/pull/49912] > Read and write CalendarIntervals using one call to get/putLong consistently > --------------------------------------------------------------------------- > > Key: SPARK-51042 > URL: https://issues.apache.org/jira/browse/SPARK-51042 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 4.0.0, 3.5.4, 3.5.5, 4.1.0 > Reporter: Jonathan Albrecht > Assignee: Jonathan Albrecht > Priority: Minor > Labels: big-endian, pull-request-available > Fix For: 4.0.0, 3.5.5 > > > In commit ac07cea234f4fb687442aafa8b6d411695110a4e there was a performance > improvement to reading a writing CalendarIntervals in UnsafeRow. This same > change can be applied to UnsafeArrayData and UnsafeWriter. > This would also fix big endian platforms where the current and proposed > methods of reading and writing CalendarIntervals do not order the bytes in > the same way. Currently CalendarInterval related tests in Catalyst and SQL > are failing on big endian platforms. > There would be no effect on little endian platforms (byte order is not > affected) except for performance improvement. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org