jeff-zou created FLINK-31375: -------------------------------- Summary: the values of map<string,string> are truncated by the CASE WHEN function. Key: FLINK-31375 URL: https://issues.apache.org/jira/browse/FLINK-31375 Project: Flink Issue Type: Bug Components: Table SQL / API Affects Versions: 1.15.1 Reporter: jeff-zou
the values of map<string,string> are truncated by the CASE WHEN function. {code:java} // sql create table test (a map<varchar, string>) with ('connector'='print'); insert into test select * from (values(case when true then map['test','123456789'] else map ['msg_code','0', 'msg_reason', 'abc'] end));{code} the result: {code:java} +I[{test=123}] {code} We hope the value of result if '123456789', but I get '123'. -- This message was sent by Atlassian Jira (v8.20.10#820010)