You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2021/06/13 15:45:00 UTC

[jira] [Resolved] (SPARK-35719) Support type conversion between timestamp and timestamp without time zone type

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

Max Gekk resolved SPARK-35719.
------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

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

> Support type conversion between timestamp and timestamp without time zone type
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-35719
>                 URL: https://issues.apache.org/jira/browse/SPARK-35719
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.2.0
>
>
> 1. Extend the Cast expression and support TimestampType in casting to TimestampWithoutTZType.
> 2. There was a mistake in casting TimestampWithoutTZType as TimestampType in https://github.com/apache/spark/pull/32864. The target value should be `sourceValue - timeZoneOffset` instead of being the same value.



--
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