You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Adrian Wang (JIRA)" <ji...@apache.org> on 2015/06/09 10:07:02 UTC

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

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