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

Reynold Xin updated SPARK-8192:
-------------------------------
    Description: 
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.



  was:
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.




> current_date function
> ---------------------
>
>                 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to