Clemens Valiente
04/03/2024, 6:53 AMAsyncLookupFunction and try to call it with this example snippet:
WITH tbl AS (SELECT 123 as id, '456' as pmntid, 'IDR' as cur) SELECT * from tbl join Lateral Table(cashlessInfo(id, pmntid, cur))
but I get the following error:
No match found for function signature cashlessInfo(<NUMERIC>, <CHARACTER>, <CHARACTER>)
the eval function has the following signature:
https://nightlies.apache.org/flink/flink-docs-release-1.17/api/java/org/apache/flink/table/functions/AsyncLookupFunction.html
eval(CompletableFuture<Collection<RowData>> future, Object... keys)
I tried setting a @FunctionHint(input = Array(new DataTypeHint("INT"),new DataTypeHint("STRING"),new DataTypeHint("STRING"))) but that didn't help either.
unfortunately there is no documentation on the AsyncLookupFunction so I feel like I quite in the dark here.
Any help/advice in which direction to investigate furtehr?