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/19 19:59:00 UTC

[jira] [Created] (SPARK-31195) Reuse days rebase functions of DateTimeUtils in DaysWritable

Maxim Gekk created SPARK-31195:
----------------------------------

             Summary: Reuse days rebase functions of DateTimeUtils in DaysWritable
                 Key: SPARK-31195
                 URL: https://issues.apache.org/jira/browse/SPARK-31195
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maxim Gekk


The functions rebaseJulianToGregorianDays() and rebaseGregorianToJulianDays() were added by the PR https://github.com/apache/spark/pull/27915. The ticket aims to replace similar code in org.apache.spark.sql.hive.DaysWritable by the functions to:
# Deduplicate code
# The functions were better tested, and cross checked by reading parquet files saved by Spark 2.4



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