[
https://issues.apache.org/jira/browse/FLINK-25463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466307#comment-17466307
]
Surendra Lalwani edited comment on FLINK-25463 at 12/29/21, 5:13 AM:
---------------------------------------------------------------------
So I am using a UDF which extends AggregateFunction<T, ACC>. For that we
implement createAccumulator, getValue, accumulate and merge method. When you
create accumulator of type java.util.Set, the UDF fails giving error Error
inferring type logic. But when at the same point I use java.util.List, it works
fine.
I also tried with @DatatypeHint but it still gives the same error.
[~wenlong.lwl]
was (Author: JIRAUSER282438):
So I am using a UDF which extends AggregateFunction<T, ACC>. For that we
implement createAccumulator, getValue, accumulate and merge method. When you
create accumulator of type java.util.Set, the UDF fails giving error Error
inferring type logic. But when at the same point I use java.util.List, it works
fine.
I also tried with @DatatypeHint but it still gives the same error.
> Set is not supported in User Defined Functions
> -----------------------------------------------
>
> Key: FLINK-25463
> URL: https://issues.apache.org/jira/browse/FLINK-25463
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.13.3
> Reporter: Surendra Lalwani
> Priority: Major
> Fix For: 1.13.6
>
>
> Hi Team,
>
> List is supported in UDFs but Set is not supported in UDFs. Please check
--
This message was sent by Atlassian Jira
(v8.20.1#820001)