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 悟空 <wu...@foxmail.com> on 2021/10/31 02:09:33 UTC

回复:Flink Sql表概念

我的理解是时态表和版本表是一个类似概念 并且都是动态表的一种。最好还是看下flink 官网的解释更权威下



发自我的iPhone


------------------ 原始邮件 ------------------
发件人: guanyq <dlguanyq@163.com&gt;
发送时间: 2021年10月31日 09:24
收件人: user-zh <user-zh@flink.apache.org&gt;
主题: 回复:Flink Sql表概念



请大佬指导下:
动态表
时态表
版本表
这三个是什么关系?
flinksql里面还有其他一些表的概念么?

Re: Flink Sql表概念

Posted by liwei li <hi...@gmail.com>.
*Temporal(dynamic) Table*: Temporal table is a table that evolves over time
as known as Flink *dynamic table
<https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/streaming/dynamic_tables.html#dynamic-tables--continuous-queries>*,
rows in temporal table are associated with one or more temporal periods,
all Flink tables are temporal(dynamic) table.

*Version:* A dynamic table can split into a set of versioned table
snapshots, the *version* in table snapshots represents the valid life
circle of rows, the start time and the end time of the valid period can be
assigned by users. Temporal table can split to versioned table and regular
table according to the table can tracks its history version or not.

*Versioned table*: If the row in dynamic table can track its history
changes and visit its history versions, we called this kind of
dynamic table as versioned table.

*Regular table**:* For regular table, the row in dynamic table can only
track its latest version. The table in lookup join can only track its
latest version it's also a regular table.


https://wiki.apache.org/confluence/display/FLINK/FLIP-132+Temporal+Table+DDL+and+Temporal+Table+Join


供参考。



悟空 <wu...@foxmail.com> 于2021年10月31日周日 上午10:09写道:

> 我的理解是时态表和版本表是一个类似概念 并且都是动态表的一种。最好还是看下flink 官网的解释更权威下
>
>
>
> 发自我的iPhone
>
>
> ------------------ 原始邮件 ------------------
> 发件人: guanyq <dlguanyq@163.com&gt;
> 发送时间: 2021年10月31日 09:24
> 收件人: user-zh <user-zh@flink.apache.org&gt;
> 主题: 回复:Flink Sql表概念
>
>
>
> 请大佬指导下:
> 动态表
> 时态表
> 版本表
> 这三个是什么关系?
> flinksql里面还有其他一些表的概念么?