[
https://issues.apache.org/jira/browse/SPARK-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991957#comment-14991957
]
Chip Sands commented on SPARK-8181:
-----------------------------------
Using Spark Thrift Server hour( '1961-08-30 06:06:10') is returning (-17)
for the hour in 1.5 and 1.5.1
> date/time function: hour
> ------------------------
>
> Key: SPARK-8181
> URL: https://issues.apache.org/jira/browse/SPARK-8181
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Tarek Auel
> Fix For: 1.5.0
>
>
> hour(string|date|timestamp): int
> Returns the hour of the timestamp: hour('2009-07-30 12:58:59') = 12,
> hour('12:58:59') = 12.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]