[
https://issues.apache.org/jira/browse/FLINK-41808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41808:
-----------------------------------
Affects Version/s: 2.2.0
2.4.0
2.5.0
2.3.2
> AsyncTableFunction results are corrupted by concurrent conversion
> -----------------------------------------------------------------
>
> Key: FLINK-41808
> URL: https://issues.apache.org/jira/browse/FLINK-41808
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Runtime
> Affects Versions: 2.2.0, 2.4.0, 2.5.0, 2.3.2
> Reporter: Martijn Visser
> Priority: Major
>
> AsyncCorrelateRunner converts the function result to internal data on the
> thread that completes the future. The converter is shared by all in-flight
> calls and is not thread-safe (see FLINK-30612). With an AsyncTableFunction
> returning ARRAY<STRING> and 64 concurrent completions, 4,085 to 4,394 of
> 19,968 rows had wrong array elements on master over 3 runs, in a plain
> LATERAL TABLE join. Affects 2.2.0 and later. PR #26817 moves the conversion
> into the mailbox thread, which gives 0 wrong rows in the same runs.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)