Hi,

就像异常所说,streaming sql不支持非时间字段的order by。
你是怎么来指定时间字段的呢?

Best,
Jingsong Lee

On Fri, May 8, 2020 at 9:52 AM Hito Zhu <qrshi....@gmail.com> wrote:

> hi all,
> flink 1.10 建议使用 createTemporaryTable 方法代替 registerTableSource
> 方法,替换后报错,错误信息和SQL如下:
>
> Exception in thread "main" org.apache.flink.table.api.TableException:
> Sort on a non-time-attribute field is not supported.
> SQL:select code, ...,searchTime from table order by searchTime asc
>
> 不使用 order by 语句没问题。
>
>
>
>
>

-- 
Best, Jingsong Lee

回复