[
https://issues.apache.org/jira/browse/SPARK-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin resolved SPARK-9369.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
> Support IntervalType in UnsafeRow
> ---------------------------------
>
> Key: SPARK-9369
> URL: https://issues.apache.org/jira/browse/SPARK-9369
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Wenchen Fan
> Fix For: 1.5.0
>
>
> Should be pretty straightforward to support:
> 1. Add getInterval accessor to InternalRow.
> 2. Use two longs in the variable length portion of UnsafeRow to store the
> interval data.
> 3. Add IntervalWriter to UnsafeRowWriters.
> 4. In GenerateUnsafeProjection, add support for IntervalType, using the newly
> added UnsafeRowWriters.IntervalWriter.
> 5. Change BoundReference to use the specialized getter for IntervalType.
> 6. Update the accessor for codegen in CodeGenerator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]