xiaodao created FLINK-33511:
-------------------------------
Summary: flink SqlGateway select bigint type column get cast
exception
Key: FLINK-33511
URL: https://issues.apache.org/jira/browse/FLINK-33511
Project: Flink
Issue Type: Improvement
Components: Table SQL / Gateway
Affects Versions: 1.18.0
Reporter: xiaodao
when i open a beeline client connect to flink sqlgateway;
i create table like
{code:java}
//代码占位符
CREATE TABLE Orders (
order_number BIGINT,
price DECIMAL(32,2),
buyer ROW<first_name STRING, last_name STRING>,
order_time TIMESTAMP(3)
) WITH (
'connector' = 'datagen'
) {code}
and then select * from Orders;
i got exception:
java.lang.Long cannot be cast to org.apache.flink.table.data.StringData
--
This message was sent by Atlassian Jira
(v8.20.10#820010)