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