You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/04/02 08:20:00 UTC

[jira] [Created] (FLINK-27006) Support SingleValueAggFunction for Char data type

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)