[
https://issues.apache.org/jira/browse/FLINK-41556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41556:
-----------------------------------
Issue Type: Improvement (was: Bug)
> Compiling a plan with a table aggregate function fails with "this is a bug"
> ---------------------------------------------------------------------------
>
> Key: FLINK-41556
> URL: https://issues.apache.org/jira/browse/FLINK-41556
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: Martijn Visser
> Priority: Minor
>
> Table aggregate functions ({{TableAggregateFunction}}, called with
> {{flatAggregate}}) can't be stored in a compiled plan:
> {{StreamExecGroupTableAggregate}} is in
> {{ExecNodeMetadataUtil.UNSUPPORTED_JSON_SERDE_CLASSES}}. When a user tries
> anyway, {{compilePlan()}} succeeds and writing the plan fails with {{Can not
> serialize ExecNode with id: 3. Missing type, this is a bug, please file a
> ticket.}} That reads like a Flink bug instead of an unsupported feature. We
> should fail when the plan is compiled, and say that table aggregate functions
> aren't supported in compiled plans. Regular aggregate functions
> ({{AggregateFunction}}) are fine.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)