Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add beginning of month and end of month functions #266

Open
3 tasks
MrPowers opened this issue Sep 25, 2024 · 2 comments
Open
3 tasks

ENH: Add beginning of month and end of month functions #266

MrPowers opened this issue Sep 25, 2024 · 2 comments

Comments

@MrPowers
Copy link
Collaborator

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:

Screenshot 2024-09-24 at 4 53 22 PM

Feature Description

Add beginning_of_month and end_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/

@SemyonSinchenko
Copy link
Collaborator

@nijanthanvijayakumar
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants