Flink实战系列Sort on a non-time-attribute field is not supported

Posted JasonLee实时计算

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Flink实战系列Sort on a non-time-attribute field is not supported相关的知识,希望对你有一定的参考价值。

org.apache.flink.table.api.TableException: Sort on a non-time-attribute field is not supported.

背景说明

在 Flink Streaming 场景下,执行一条非常简单的排序 SQL 语句

select * from test1 order by id desc

提交任务的时候抛出下面的异常:

org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Sort on a non<

以上是关于Flink实战系列Sort on a non-time-attribute field is not supported的主要内容,如果未能解决你的问题,请参考以下文章