GitHub user sunjincheng121 opened a pull request:
https://github.com/apache/flink/pull/4117
[FLINK-6813][table]Add TIMESTAMPDIFF supported in SQL
In this PR. I have Add TIMESTAMPDIFF supported in SQL.
1. timestampDiff(unit, timestamp,timestamp) keep consistent with calcite.
2. timestampDiff(unit, date,date) keep consistent with calcite.
3. timestampDiff(unit, timestamp,date) calcite not support yet.
4. timestampDiff(unit, date,timestamp) calcite not support yet.
- [x] General
- The pull request references the related JIRA issue
("[FLINK-6813][table]Add TIMESTAMPDIFF supported in SQL")
- The pull request addresses only one issue
- Each commit in the PR has a meaningful commit message (including the
JIRA id)
- [ ] Documentation
- Documentation has been added for new functionality
- Old documentation affected by the pull request has been updated
- JavaDoc for public methods has been added
- [x] Tests & Build
- Functionality added by the pull request is covered by tests
- `mvn clean verify` has been executed successfully locally or a Travis
build has passed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sunjincheng121/flink FLINK-6813-PR
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4117.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4117
----
commit 7bf3971d7901ddc781368f0a4cd26f29d20d5365
Author: sunjincheng121 <[email protected]>
Date: 2017-06-13T06:02:10Z
[FLINK-6813][table]Add TIMESTAMPDIFF supported in SQL
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---