You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2019/12/06 06:56:00 UTC

[jira] [Resolved] (SPARK-29774) Date and Timestamp type +/- null should be null as Postgres

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

Wenchen Fan resolved SPARK-29774.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 26412
[https://github.com/apache/spark/pull/26412]

> Date and Timestamp type +/- null should be null as Postgres
> -----------------------------------------------------------
>
>                 Key: SPARK-29774
>                 URL: https://issues.apache.org/jira/browse/SPARK-29774
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> {code:sql}
> postgres=# select timestamp '1999-12-31' - null;
>  ?column?
> ----------
> (1 row)
> postgres=# select date '1999-12-31' - null;
>  ?column?
> ----------
> (1 row)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org