-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 millisecond Presto function #275
Conversation
This pull request was exported from Phabricator. Differential Revision: D31122342 |
Summary: Pull Request resolved: facebookincubator#275 Differential Revision: D31122342 fbshipit-source-id: cad933374a0b26580d887841027b24156a8af917
fe4cb1f
to
8af27e9
Compare
This pull request was exported from Phabricator. Differential Revision: D31122342 |
Summary: Pull Request resolved: facebookincubator#275 Reviewed By: mbasmanova Differential Revision: D31122342 fbshipit-source-id: a137f16043ba217364d94df0c4342495cc58792e
8af27e9
to
4e7bbec
Compare
This pull request was exported from Phabricator. Differential Revision: D31122342 |
Summary: Pull Request resolved: facebookincubator#275 Reviewed By: mbasmanova Differential Revision: D31122342 fbshipit-source-id: 309ecd52d82fcec0d8b0a38435016d283b55cfe9
4e7bbec
to
6348e06
Compare
This pull request was exported from Phabricator. Differential Revision: D31122342 |
@@ -11,6 +11,10 @@ Date and Time Functions | |||
Returns the UNIX timestamp ``unixtime`` as a timestamp with time zone | |||
using ``string`` for the time zone. | |||
|
|||
.. function:: millisecond(timestamp) -> int64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generic question: How are we testing for / ensuring compatibility with the Presto functions, e.g. https://github.com/prestodb/presto/blob/master/presto-main/src/main/java/com/facebook/presto/operator/scalar/DateTimeFunctions.java ?
Summary: Pull Request resolved: facebookincubator#275 Reviewed By: mbasmanova Differential Revision: D31122342 fbshipit-source-id: 844e7ad73e34846b4b2d34160b1c4596fc686068
6348e06
to
1e19e1e
Compare
This pull request was exported from Phabricator. Differential Revision: D31122342 |
Summary: Pull Request resolved: facebookincubator#275 Reviewed By: mbasmanova Differential Revision: D31122342 fbshipit-source-id: 0d3d2e2989c1714d0021ddc31c842b47ae8827d7
1e19e1e
to
bc58d84
Compare
This pull request was exported from Phabricator. Differential Revision: D31122342 |
Co-authored-by: BInwei Yang <[email protected]>
Differential Revision: D31122342