Github user tonycox commented on the issue:
https://github.com/apache/flink/pull/2686
Hi @wuchong , native java implementation of "power" function suits to most
cases. So i deleted POWER_DEC from flink, because it has no proper types.
Actually we don't make user's life harder. Instead of this I think the best way
to solve this issue is to do what Fabian said https://goo.gl/hjtlOd, just cast
bigDecimal in table api manually. And tell in exception message that they
should cast. Tests of sqrt and power with all types are good
---
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.
---