aai95 commented on issue #6783: [FLINK-10472] [table] Add CBRT math function 
supported in Table API and SQL
URL: https://github.com/apache/flink/pull/6783#issuecomment-428144132
 
 
   @Guibo-Pan thank you for your suggestion.
   The idea about adding the "Nth root" function sounds good to me.
   It will be analog of existing `POWER(x, y) = x ^ y`, but can be more useful 
in SQL like `ROOT(125, 3)` will produce 5, instead of `POWER(125, 1.0 / 3.0)`.
   More pleasent syntax, I can rename this issue and rewrite implementation 
based on idea that `root(x, y) = power(x, 1 / y)`.
   What do you think about it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to