[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-07-04 Thread twalthr
Github user twalthr commented on the issue: https://github.com/apache/flink/pull/6188 @fhueske `MONTH`, `QUARTER`, and `YEAR` are not converted into milliseconds but treated as interval of months. In general, Flink supports two types of intervals one for millis and one for months. So

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-07-04 Thread fhueske
Github user fhueske commented on the issue: https://github.com/apache/flink/pull/6188 Hmm, I think there is still a case for `timestampAdd`. The problem are time intervals with variable length such as `MONTH`, `QUARTER`, and `YEAR`. All of these cannot be defined by milliseconds,

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-07-04 Thread xueyumusic
Github user xueyumusic commented on the issue: https://github.com/apache/flink/pull/6188 @twalthr I looked around and realized that current `+` expression could support TimeInterval (TimePoint) addition, thus the timestampAdd api is duplicated and seems have no necessary.

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-06-24 Thread xueyumusic
Github user xueyumusic commented on the issue: https://github.com/apache/flink/pull/6188 Thanks very much for your reivew and guidance, @walterddr @hequn8128 , I have made some modification, please have a review when you are free, thanks! ---

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-06-22 Thread hequn8128
Github user hequn8128 commented on the issue: https://github.com/apache/flink/pull/6188 @xueyumusic Great that you step out to contribute to flink, I will take a look this weekend :-) ---

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-06-22 Thread xueyumusic
Github user xueyumusic commented on the issue: https://github.com/apache/flink/pull/6188 The first time to submit pr and could someone review it and give some advice, thanks :) ---

[GitHub] flink issue #6188: [FLINK-6846][Table API] add timestampAdd tableApi

2018-06-21 Thread xueyumusic
Github user xueyumusic commented on the issue: https://github.com/apache/flink/pull/6188 Travis error is "The job exceeded the maximum time limit for jobs, and has been terminated". It seems connector module test and not related to this PR. ---