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

[Feature][SDK] Transform support TIMESTAMPADD() function #10879

Closed
2 tasks done
Zkplo opened this issue Aug 25, 2024 · 0 comments · Fixed by #10880
Closed
2 tasks done

[Feature][SDK] Transform support TIMESTAMPADD() function #10879

Zkplo opened this issue Aug 25, 2024 · 0 comments · Fixed by #10880
Assignees
Milestone

Comments

@Zkplo
Copy link
Contributor

Zkplo commented Aug 25, 2024

Description

TIMESTAMPADD(unit,interval,datetime_expr) - Add integer expression intervals to the date or date time expression expr. The unit of the time interval is specified by the unit parameter, which should be one of the following values: MICROSECOND, SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, or YEAR.

For example:

SELECT TIMESTAMPADD(MINUTE,1,'2003-01-02');
+---------------------------------------------------------+
|           TIMESTAMPADD(MINUTE,1,'2003-01-02')           |
+---------------------------------------------------------+
|                  2003-01-02 00:01:00                    |
+---------------------------------------------------------+
1 row in set (0.00 sec)

Use case

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

2 participants