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

Add week, week_of_year Presto functions #2287

Closed
wants to merge 4 commits into from

Conversation

pramodsatya
Copy link
Collaborator

@pramodsatya pramodsatya commented Aug 12, 2022

Add Presto functions week and week_of_year (alias of week).

@pramodsatya pramodsatya marked this pull request as draft August 12, 2022 21:11
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2022
@majetideepak
Copy link
Collaborator

Add documentation here https://facebookincubator.github.io/velox/functions/datetime.html. Can copy the description from
https://prestodb.io/docs/current/functions/datetime.html

Copy link
Collaborator

@aditi-pandit aditi-pandit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pramod. Few comments.

@netlify
Copy link

netlify bot commented Sep 21, 2022

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit f18be65
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/63b6e7c34028c30008d86b5f

@stale
Copy link

stale bot commented Dec 21, 2022

This pull request has been automatically marked as stale because it has not had recent activity. If you'd still like this PR merged, please comment on the PR, make sure you've addressed reviewer comments, and rebase on the latest main. Thank you for your contributions!

Copy link
Collaborator

@aditi-pandit aditi-pandit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this function ! Have a few small comments.

velox/functions/prestosql/DateTimeFunctions.h Outdated Show resolved Hide resolved
velox/functions/prestosql/DateTimeFunctions.h Show resolved Hide resolved
velox/functions/prestosql/tests/DateTimeFunctionsTest.cpp Outdated Show resolved Hide resolved
velox/functions/prestosql/tests/DateTimeFunctionsTest.cpp Outdated Show resolved Hide resolved
velox/functions/prestosql/tests/DateTimeFunctionsTest.cpp Outdated Show resolved Hide resolved
velox/functions/prestosql/tests/DateTimeFunctionsTest.cpp Outdated Show resolved Hide resolved
velox/functions/prestosql/tests/DateTimeFunctionsTest.cpp Outdated Show resolved Hide resolved
@pramodsatya pramodsatya force-pushed the week_func branch 2 times, most recently from 2d58ea5 to 63a1e92 Compare December 30, 2022 12:20
@aditi-pandit aditi-pandit marked this pull request as ready for review January 3, 2023 23:09
@facebook-github-bot
Copy link
Contributor

@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pramodsatya Thanks.

@facebook-github-bot
Copy link
Contributor

@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mbasmanova merged this pull request in 99a0ec7.

@pramodsatya pramodsatya deleted the week_func branch January 6, 2023 02:31
marin-ma pushed a commit to marin-ma/velox-oap that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants