[jira] [Assigned] (SPARK-8196) date/time function: next_day

2015-06-24 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-8196:
---

Assignee: (was: Apache Spark)

 date/time function: next_day 
 -

 Key: SPARK-8196
 URL: https://issues.apache.org/jira/browse/SPARK-8196
 Project: Spark
  Issue Type: Sub-task
  Components: SQL
Reporter: Reynold Xin

 next_day(string start_date, string day_of_week): string
 next_day(date start_date, string day_of_week): string
 Returns the first date which is later than start_date and named as 
 day_of_week (as of Hive 1.2.0). start_date is a string/date/timestamp. 
 day_of_week is 2 letters, 3 letters or full name of the day of the week (e.g. 
 Mo, tue, FRIDAY). The time part of start_date is ignored. Example: 
 next_day('2015-01-14', 'TU') = 2015-01-20.



--
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] [Assigned] (SPARK-8196) date/time function: next_day

2015-06-24 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-8196:
---

Assignee: Apache Spark

 date/time function: next_day 
 -

 Key: SPARK-8196
 URL: https://issues.apache.org/jira/browse/SPARK-8196
 Project: Spark
  Issue Type: Sub-task
  Components: SQL
Reporter: Reynold Xin
Assignee: Apache Spark

 next_day(string start_date, string day_of_week): string
 next_day(date start_date, string day_of_week): string
 Returns the first date which is later than start_date and named as 
 day_of_week (as of Hive 1.2.0). start_date is a string/date/timestamp. 
 day_of_week is 2 letters, 3 letters or full name of the day of the week (e.g. 
 Mo, tue, FRIDAY). The time part of start_date is ignored. Example: 
 next_day('2015-01-14', 'TU') = 2015-01-20.



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