You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2020/03/25 20:22:00 UTC

[jira] [Created] (SPARK-31254) `HiveResult.toHiveString` does not use the current session time zone

Maxim Gekk created SPARK-31254:
----------------------------------

             Summary: `HiveResult.toHiveString` does not use the current session time zone
                 Key: SPARK-31254
                 URL: https://issues.apache.org/jira/browse/SPARK-31254
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maxim Gekk


Currently, date/timestamp formatters in `HiveResult.toHiveString` are initialized once on instantiation of the `HiveResult` object, and pick up the session time zone. If the sessions time zone is changed, the formatters still use the previous one.

See the discussion there https://github.com/apache/spark/pull/23391#discussion_r397347820



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