[
https://issues.apache.org/jira/browse/FLINK-25476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-25476:
-----------------------------------
Labels: pull-request-available stale-major (was: pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Major but is unassigned and neither itself nor its Sub-Tasks have been updated
for 60 days. I have gone ahead and added a "stale-major" to the issue". If this
ticket is a Major, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> CharType lost in the creation of MaxAggFunction & MinAggFunction
> ----------------------------------------------------------------
>
> Key: FLINK-25476
> URL: https://issues.apache.org/jira/browse/FLINK-25476
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.15.0
> Reporter: zoucao
> Priority: Major
> Labels: pull-request-available, stale-major
>
> CharType lost in AggFunctionFactory#createMinAggFunction(Retract) and
> AggFunctionFactory#createMaxAggFunction(Retract&nonRetract).
> If execute
> {code:java}
> SELECT Max('a') ...
> {code}
> , The following exception will throw.
> ----
> Caused by: org.apache.flink.table.api.TableException: Max aggregate function
> does not support type: ''CHAR''.
> Please re-check the data type.
> at
> org.apache.flink.table.planner.plan.utils.AggFunctionFactory.createMaxAggFunction(AggFunctionFactory.scala:395)
> at
> org.apache.flink.table.planner.plan.utils.AggFunctionFactory.createAggFunction(AggFunctionFactory.scala:76)
> at
> org.apache.flink.table.planner.plan.utils.AggregateUtil$.$anonfun$transformToAggregateInfoList$1(AggregateUtil.scala:444)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)