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

feat: add FROM_DAYS and update UNIX_DATE function #7742

Merged
merged 4 commits into from
Jul 1, 2021

Conversation

jzaralim
Copy link
Contributor

Description

from_days: converts number of days to a date
unix_date(date): converts a date to a number of days since epoch

Also updates the KLIP to add FROM_DAYS and cancel CONVERT_TZ and UNIX_TIME, since those aren't really implemented anywhere.

Testing done

QTT and unit tests

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@jzaralim jzaralim requested a review from spena June 29, 2021 15:23
@jzaralim jzaralim requested review from JimGalasyn and a team as code owners June 29, 2021 15:23
Copy link
Member

@JimGalasyn JimGalasyn left a comment

Choose a reason for hiding this comment

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

LGTM, with a few suggestions.

Copy link
Member

@spena spena left a comment

Choose a reason for hiding this comment

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

LGTM

@jzaralim jzaralim merged commit 3c68710 into confluentinc:master Jul 1, 2021
@jzaralim jzaralim deleted the unix branch July 1, 2021 05:59
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

Successfully merging this pull request may close these issues.

3 participants