You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/27 08:51:04 UTC

[jira] [Commented] (SPARK-9369) Support IntervalType in UnsafeRow

    [ https://issues.apache.org/jira/browse/SPARK-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642357#comment-14642357 ] 

Apache Spark commented on SPARK-9369:
-------------------------------------

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/7688

> 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
>
> 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