【发布时间】:2021-09-23 16:20:42
【问题描述】:
我有一个如下所示的架构: 表:org_table
`transaction_amt` VARCHAR(64) NOT NULL,
`transaction_adj_amt` BIGINT NOT NULL ,
`event_time` TIMESTAMP(3),
`fd_output` ROW<`restime` BIGINT `outcome` VARCHAR(64)>,
当我这样查询这个表时:
SELECT transaction_amt, transaction_adj_amt, event_time, fd_output.restime as response_time, fd_output.outcome as outcome, YEAR(event_time), MONTH(event_time)
FROM org_table
在表上运行上述查询时出现错误。我在这里有什么遗漏吗?
scala.MatchError: CAST (of class org.apache.calcite.sql.fun.SqlCastFunction
【问题讨论】:
标签: apache-flink flink-sql pyflink