luoyuxia created FLINK-27006:
--------------------------------
Summary: Support SingleValueAggFunction for Char data type
Key: FLINK-27006
URL: https://issues.apache.org/jira/browse/FLINK-27006
Project: Flink
Issue Type: Improvement
Components: Table SQL / Planner
Reporter: luoyuxia
Fix For: 1.16.0
The exception happens when I try to running the following sql with Hive dialect:
{code:java}
create table tempty(c char(2));
select * from tempty where c = (select * from tempty) ;{code}
the exception is "SINGLE_VALUE aggregate function doesn't support type 'CHAR'."
There missing the CharType in SingleValueAggFunction, which should be supported.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)