You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/16 12:41:36 UTC

[GitHub] MaxGekk opened a new pull request #23808: [SPARK-26900][SQL] Simplify truncation to quarter of year

MaxGekk opened a new pull request #23808: [SPARK-26900][SQL] Simplify truncation to quarter of year
URL: https://github.com/apache/spark/pull/23808
 
 
   ## What changes were proposed in this pull request?
   
   In the PR, I propose to simplify timestamp truncation to quarter of year by using *java.time* API directly. The `LocalDate` instance can be truncation to quarter timestamp via adjusting by chrono field `IsoFields.DAY_OF_QUARTER`.  
   
   ## How was this patch tested?
   
   This was checked by existing test suite - `DateTimeUtilsSuite`.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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