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/06/22 12:25:00 UTC

[jira] [Created] (SPARK-32052) Extract common code from date-time field expressions

Maxim Gekk created SPARK-32052:
----------------------------------

             Summary: Extract common code from date-time field expressions
                 Key: SPARK-32052
                 URL: https://issues.apache.org/jira/browse/SPARK-32052
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Maxim Gekk


The following expressions calls DateTimeUtils functions to get date-time fields from input date or timestamps, so, the common code can be extracted to common traits:
- Second
- Minute
- Hour
- Year
- Month and etc.



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