[jira] [Commented] (SPARK-8181) date/time function: hour

2015-11-05 Thread Chip Sands (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-8181) date/time function: hour

2015-06-24 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14599127#comment-14599127
 ] 

Apache Spark commented on SPARK-8181:
-

User 'tarekauel' has created a pull request for this issue:
https://github.com/apache/spark/pull/6981

 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

 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-8181) date/time function: hour

2015-06-09 Thread Adrian Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578522#comment-14578522
 ] 

Adrian Wang commented on SPARK-8181:


I'll deal with this.

 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

 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org