You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "david hodeffi (JIRA)" <ji...@apache.org> on 2017/11/09 11:35:01 UTC

[jira] [Created] (SPARK-22478) Spark - Truncate date by Day / Hour

david hodeffi created SPARK-22478:
-------------------------------------

             Summary: Spark  - Truncate date by Day / Hour
                 Key: SPARK-22478
                 URL: https://issues.apache.org/jira/browse/SPARK-22478
             Project: Spark
          Issue Type: New Feature
          Components: Spark Core
    Affects Versions: 2.2.0
            Reporter: david hodeffi
            Priority: Trivial


Currently it is possible to truncate date/timestamp only by month or year,
There is a missing functionality to truncate by hour/day.
A usecase that requires this functionality is: Aggregating financial transaction of a party in order to create daily/hour summary. 
Those summaries are required for machine learning algorithms.  





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org