Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, the input, accumulator, and output types of UDFs are partially defined within an UDF and outside of the UDF in language-specific table environments (Scala vs. Java). This makes UDFs environment-dependent and not modular. It also blocks the unified org.apache.flink.table.api.TableEnvironment.
A better approach is to perform the type extraction Table API specific within the UDF and let users add additional information through UDF annotations.
An exact annotation and extraction design will follow.
Attachments
Issue Links
- causes
-
FLINK-20747 ClassCastException when using MAX aggregate function
- Closed
- relates to
-
FLINK-16268 Failed to run rank over window with Hive built-in functions
- Resolved
1.
|
Support the new type inference in Scala Table API aggregate functions | Open | Timo Walther | |
2.
|
Update test utilities to FLIP-65 | Open | Unassigned | |
3.
|
Drop old user-defined function stack | Open | Unassigned | |
4.
|
Use upper case name for all BuiltInFunctionDefinitions | Open | Unassigned | |
5.
|
TableEnvironment.createTemporarySystemFunction cause NPE when using leftOuterLateralJoin | Open | Unassigned | |
6.
|
Update max aggregate functions to new type system | Open | Unassigned |