Open MrPowers opened 1 month ago
The last day already exists in pyspark
Is this enhancement still required @SemyonSinchenko ?
If so, can the end_of_month
function be built on top of last_day
function in Spark? And if that's the ask, can I take this up?
Feature Type
[ ] Adding new functionality to quinn
[ ] Changing existing functionality in quinn
[ ] Removing existing functionality in quinn
Problem Description
Kind of weird syntax to compute beginning and end of month:
Feature Description
Add
beginning_of_month
andend_of_month
functions that are easier to read.Additional Context
Article on how to do this with Spark Scala: https://mungingdata.com/apache-spark/start-end-month-last-day-date-trunc/