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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to