Github user wuchong commented on the issue:

    https://github.com/apache/flink/pull/2686
  
    Hi @fhueske @tonycox , the PR is really good.
    
    But I think the true reason of this issue is because the 
`BuiltInMethods.POWER_DEC` is bound to a wrong method, which should be  
`power(double, BigDecimal)`.
    
    So what we need to do is just create a  `power(double, BigDecimal)` instead 
of `SqlFunctions.power(long, BigDecimal)`. And all the additional 
`addSqlFunction` are not necessary.
    
    In addition , this can fix `SQRT(double)` too, which is not executable now. 


---
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.
---

Reply via email to