Reynold Xin created SPARK-9369:
----------------------------------

             Summary: 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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to