[
https://issues.apache.org/jira/browse/SPARK-29012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-29012.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 25716
[https://github.com/apache/spark/pull/25716]
> Timestamp type can not accept special values
> --------------------------------------------
>
> Key: SPARK-29012
> URL: https://issues.apache.org/jira/browse/SPARK-29012
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Maxim Gekk
> Assignee: Maxim Gekk
> Priority: Major
> Fix For: 3.0.0
>
>
> ||Input String||Valid Types||Description||
> |{{epoch}}|{{timestamp}}|1970-01-01 00:00:00+00 (Unix system time zero)|
> |{{now}}|{{timestamp}}|current transaction's start time|
> |{{today}}|{{timestamp}}|midnight today|
> |{{tomorrow}}|{{timestamp}}|midnight tomorrow|
> |{{yesterday}}|{{timestamp}}|midnight yesterday|
> https://www.postgresql.org/docs/12/datatype-datetime.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]