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

Zachmu/datefns #74

Merged
merged 5 commits into from Mar 21, 2020
Merged

Zachmu/datefns #74

merged 5 commits into from Mar 21, 2020

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented Mar 20, 2020

Added support for DATETIME() and TIMESTAMP() functions

Signed-off-by: Zach Musgrave <zach@liquidata.co>
Signed-off-by: Zach Musgrave <zach@liquidata.co>
Signed-off-by: Zach Musgrave <zach@liquidata.co>
Copy link
Contributor

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

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

It all looks good to me, but should we even have a convenient TIMESTAMP function? The range on a TIMESTAMP is so small that it seems like an overall useless type nowadays (was probably before DATETIME was added), and providing a convenient shortcut function for it could push people to use it. In 19 years, TIMESTAMP() will always fail because NOW() will always be out of range.

Just a thought though, nothing too big 😃

Signed-off-by: Zach Musgrave <zach@liquidata.co>
… calls)

Signed-off-by: Zach Musgrave <zach@liquidata.co>
@zachmu zachmu merged commit e575add into ld-master Mar 21, 2020
@Hydrocharged Hydrocharged deleted the zachmu/datefns branch April 23, 2020 18:39
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.

None yet

2 participants