Skip to content

added built-in timestamp transformation in the date function #6006

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Artem-OSSRevival
Copy link

@Artem-OSSRevival Artem-OSSRevival commented Feb 13, 2025

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number: #2747

Description:

Added the possibility of converting stored timestamps (int) into a convenient readable date string.
Integrated into a stock date() function. This will save the user from the need for additional transformations.

How do you solve it?

Added the detection of a stored/requested type. If the date(int) function is called, the date string desired to the user is returned. There was a refusal earlier.

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Before:
before-1
before-2

After:
after-1
after-2

Unit Test:
2724-test

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

added built-in timestamp transformation in the date function

@CLAassistant
Copy link

CLAassistant commented Feb 13, 2025

CLA assistant check
All committers have signed the CLA.

@Artem-OSSRevival Artem-OSSRevival changed the title added built-in timestamp transformation in the date function #2747 added built-in timestamp transformation in the date function Feb 13, 2025
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.

2 participants