Github user wuchong commented on the issue:
https://github.com/apache/flink/pull/2686
According to the question mentioned in the dev mailing. I prefer to
approach 2). POWER only works on double. And `power(double, BigDecimal)` is
only used to support `SQRT(double)` which is actually `power(double, 0.5)`.
That means `power(BigDecimal, double)` will go fail.
So IMO, `power` in Table API do not need to support BigDecimal. Users can
cast it manually.
---
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.
---