Github user twalthr commented on a diff in the pull request:
https://github.com/apache/flink/pull/2088#discussion_r66814270
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/calls/ScalarFunctions.scala
---
@@ -143,15 +143,30 @@ object ScalarFunctions {
new MultiTypeMethodCallGen(BuiltInMethods.ABS))
addSqlFunction(
+ ABS,
+ Seq(BIG_DEC_TYPE_INFO),
+ new MultiTypeMethodCallGen(BuiltInMethods.ABS_DEC))
+
+ addSqlFunction(
--- End diff --
`FLOAT`, `INT` etc. is supported implicitly as they `shouldAutocastTo`
`DOUBLE`. The most suitable method is later chosen by the Java compiler.
Calcite's `SqlFunctions` provides methods for all basic types.
---
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.
---