Piotr Nowojski created FLINK-10438:
--------------------------------------
Summary: Built in functions should document the returned types
Key: FLINK-10438
URL:
https://issues.apache.org/jira/browse/FLINK-10438 Project: Flink
Issue Type: Improvement
Components: Table API & SQL
Affects Versions: 1.6.1
Reporter: Piotr Nowojski
As it is now, user have no idea to know whether the result of the operation is accurate or not.
For example {{POWER(4, 2)}} or {{POWER(2.5, )}} could return exact results (with proper {{DECIMAL}} support), while it seems like now they are returning approximated result (because of {{DOUBLE}} arithmetic). Same applies to other arithmetic functions, like {{COS SIN ATAN LOG ...}}.
Such behaviour should be documented. In some cases documenting the argument types also might be important.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)