azure - kusto 中存储的 View 是什么?

标签 azure azure-data-explorer kql kusto-explorer

在阅读有关创建函数的 Kusto 官方文档时,我遇到了这个选项来将函数创建为存储 View : Supported properties
Name    Type    Description
docstring   string  A description of the function for UI purposes.
folder  string  The name of a folder used for UI functions categorization.
view    bool    Designates this function as a stored view.
skipvalidation  bool    Determines whether or not to run validation logic on the function, and fail the process if the function isn't valid. The default is false.

我无法理解它与 View (由 Kusto 定义为具有 0 个参数的存储函数)有何不同,以及它与物化 View 有何不同?我尝试在 ADX 中创建一个存储 View ,它与表一起显示,但我不确定它是否有不同的存储,或者它只是某个表或单独表的缓存结果?

最佳答案

一个stored function/view ,与 materialized view 不同,不存储任何数据。每次调用函数时都会通过源数据调用其中的逻辑。

  • 对于你的问题 - 它也不涉及缓存。除非您使用 query results cache当调用函数/ View 时)。

关于评论中的问题:

  • 存储函数存储 View (使用 view = true 创建的存储函数)之间的区别在于查询语义特殊运算符,例如 find , search & union - 如果 View 的名称与参数匹配,则将包含该 View 。

关于azure - kusto 中存储的 View 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76207839/

相关文章:

azure - 如何允许 Azure 逻辑应用程序访问安全的 blob 存储帐户

IIS 共享配置覆盖 Azure 中 FTP 服务器的 IP 地址

azure - Take vs. Limit vs. Top、Sort vs. Order By

azure - KQL - KQL 查询的逻辑处理

java - 无法通过rest api访问azure blob

c# - ADAL - AcquireTokenSilentAsync 失败(Azure Active Directory 身份验证库)

azure - 使用 effectiveDateTime 回填 ADX,这取决于当前正在加载的数据

azure - 读取 Windows VM RAM 内存日志分析查询

Azure Kusto 数据资源管理器 - 一次调用多个管理查询

azure-data-explorer - Kusto.Explorer - 身份验证问题