[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-04-17 Thread fhueske
Github user fhueske commented on the issue: https://github.com/apache/flink/pull/5638 Thanks for the PR @buptljy! As mentioned in the comment, the function should be exposed similar to `ln()` and `log10()` as `expr.log(base)`. For that the expression parser would need to be a

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-20 Thread buptljy
Github user buptljy commented on the issue: https://github.com/apache/flink/pull/5638 @walterddr What else should I do for this PR ? ---

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-20 Thread walterddr
Github user walterddr commented on the issue: https://github.com/apache/flink/pull/5638 Thanks for the explanation @buptljy. Yeah if that's the case the only way to validate is via ITCase, it might be an overkill in this situation though. ---

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-19 Thread buptljy
Github user buptljy commented on the issue: https://github.com/apache/flink/pull/5638 @walterddr As explained in [FLINK-8930](https://issues.apache.org/jira/browse/FLINK-8930), the reason that "LOG(-1)" and "LOG(1, 100)" succeed is that they're simplified in calcite's evaluation, whi

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-12 Thread buptljy
Github user buptljy commented on the issue: https://github.com/apache/flink/pull/5638 @walterddr I'm not able to add a validation test because I am blocked by [FLINK-8930](https://issues.apache.org/jira/browse/FLINK-8930). ---

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-12 Thread buptljy
Github user buptljy commented on the issue: https://github.com/apache/flink/pull/5638 @suez1224 Docs are added in both java and scala. ---

[GitHub] flink issue #5638: [FLINK-6924][table]ADD LOG(X) supported in TableAPI

2018-03-10 Thread suez1224
Github user suez1224 commented on the issue: https://github.com/apache/flink/pull/5638 The PR looks good. Could you please add documentation in docs/dev/table/tableApi.md for both java and scala? Thanks. ---