[
https://issues.apache.org/jira/browse/SPARK-8864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616293#comment-14616293
]
Adrian Wang commented on SPARK-8864:
------------------------------------
Then we are using a Long for us. Long can be up to 9.2E18, which is more than
1E11 days. Hive is using a Long for seconds and an int for nanoseconds, but I
think a single Long here for day-time interval is fine.
> Date/time function and data type design
> ---------------------------------------
>
> Key: SPARK-8864
> URL: https://issues.apache.org/jira/browse/SPARK-8864
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Reynold Xin
> Fix For: 1.5.0
>
> Attachments: SparkSQLdatetimeudfs (1).pdf
>
>
> Please see the attached design doc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]