Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
User-defined function has been a great extension for Flink SQL API to support much complex logics.
We experienced many inconvenience when dealing with UDF with generic types and are summarized in the following doc.
Detail implementation plans are listed in sub-tasks for the generic type inference / functioncatalog look up.
In discussion topic: Can we optimize codegen while provide flexibility for output type generic, by the method in FLINK-9430 to chaining: generic result type UDF function with CAST operator.
Initial thought here is to add an logical plan optimizer rule to create a UDFGenericResultTypeCast operator.
Attachments
Issue Links
- relates to
-
FLINK-10019 singleton row type objects returned from sub query cannot be chained with other operators
- Closed
-
FLINK-9430 Support Casting of Object to Primitive types for Flink SQL UDF
- Closed
- mentioned in
-
Page Loading...
1.
|
Improve type inference for UDFs with composite parameter or result type | Resolved | Unassigned |
|
||||||||
2.
|
Allow Object or Wildcard type in user-define functions as parameter types but not result types | Resolved | Unassigned | |||||||||
3.
|
Use generic parameter search for user-define functions when argument contains Object type | Resolved | Unassigned |