gpt4 book ai didi

databricks - LIVE TABLE 和 STREAMING LIVE TABLE 的区别

转载 作者:行者123 更新时间:2023-12-05 03:22:13 29 4
gpt4 key购买 nike

当使用 DLT 时,我们可以使用 STREAMING LIVE TABLE 或 LIVE TABLE 创建一个实时表,如文档中所写:

CREATE OR REFRESH { STREAMING LIVE TABLE | LIVE TABLE } table_name

这两种语法有什么区别?

最佳答案

它在 Concepts' page 上的文档中进行了描述.

A live table or view always reflects the results of the query that defines it, including when the query defining the table or view is updated, or an input data source is updated. Like a traditional materialized view, a live table or view may be entirely computed when possible to optimize computation resources and time.

A streaming live table or view processes data that has been added only since the last pipeline update. Streaming tables and views are stateful; if the defining query changes, new data will be processed based on the new query and existing data is not recomputed.

关于databricks - LIVE TABLE 和 STREAMING LIVE TABLE 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72773159/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com