You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by drewfranklin <dr...@163.com> on 2020/08/06 10:27:03 UTC

flink sql 添加全局唯一id 字段

Hello all . 想请教下。flink sql 想添加一个全局唯一的自增数据,有什么好的方法吗?


Re: flink sql 添加全局唯一id 字段

Posted by Jark Wu <im...@gmail.com>.
可以依赖外部的全局唯一自增 id 服务,包装成一个 udf 在 flink sql 中使用。
在 flink sql 中,目前好像还没法提供这种功能。

Best,
Jark

On Thu, 6 Aug 2020 at 18:27, drewfranklin <dr...@163.com> wrote:

> Hello all . 想请教下。flink sql 想添加一个全局唯一的自增数据,有什么好的方法吗?
>
>