You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/07/27 06:25:04 UTC
[jira] [Updated] (SPARK-9369) Support IntervalType in UnsafeRow
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org