Martijn Visser created FLINK-41812:
--------------------------------------

             Summary: Async correlate ignores the output conversion class of an 
AsyncTableFunction
                 Key: FLINK-41812
                 URL: https://issues.apache.org/jira/browse/FLINK-41812
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 2.2.0, 2.3.2, 2.4.0, 2.5.0
            Reporter: Martijn Visser


CommonExecAsyncCorrelate creates the result converter from the logical type, so 
it always expects the default conversion class. An AsyncTableFunction whose 
output declares ARRAY<STRING> bridged to java.util.List fails with 
ClassCastException: class java.util.ArrayList cannot be cast to class 
[Ljava.lang.Object, at ArrayObjectArrayConverter.toInternal. The same function 
as a synchronous TableFunction works, and async lookup joins use the function's 
declared output type. Introduced with FLINK-37724.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to