[
https://issues.apache.org/jira/browse/SPARK-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin updated SPARK-9369:
-------------------------------
Description:
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.
was:
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.
> 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
>
> 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]