[jira] [Commented] (SPARK-8192) date/time function: current_date

2015-06-24 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-8192:
-

User 'adrian-wang' has created a pull request for this issue:
https://github.com/apache/spark/pull/6985

 date/time function: current_date
 

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

 current_date(): date
 Returns the current date at the start of query evaluation (as of Hive 1.2.0). 
 All calls of current_date within the same query return the same value.
 We should just replace this with a date literal in the optimizer.



--
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-8192) date/time function: current_date

2015-06-09 Thread Adrian Wang (JIRA)

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

Adrian Wang commented on SPARK-8192:


I'll deal with this.

 date/time function: current_date
 

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

 current_date(): date
 Returns the current date at the start of query evaluation (as of Hive 1.2.0). 
 All calls of current_date within the same query return the same value.
 We should just replace this with a date literal in the optimizer.



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